Allow constraint args to be literals

This commit is contained in:
Tim Chevalier 2011-06-01 17:45:13 -07:00
parent 528c6516f0
commit ac4ef1741e

View File

@ -338,6 +338,7 @@ tag ty_ {
tag constr_arg_ {
carg_base;
carg_ident(ident);
carg_lit(@lit);
}
type constr_arg = spanned[constr_arg_];
type constr_ = rec(path path, vec[@constr_arg] args);