Remove '.' after nullary tags in patterns
Does what it says on the tin. The next commit will remove support for this syntax.
This commit is contained in:
parent
ca7cfbe3d0
commit
04a2887f87
96 changed files with 1410 additions and 1410 deletions
|
|
@ -277,7 +277,7 @@ fn parse_ty(st: @pstate, conv: conv_did) -> ty::t {
|
|||
assert (next(st) as char == '#');
|
||||
alt st.tcx.rcache.find({cnum: st.crate, pos: pos, len: len}) {
|
||||
some(tt) { ret tt; }
|
||||
none. {
|
||||
none {
|
||||
let ps = @{pos: pos with *st};
|
||||
let tt = parse_ty(ps, conv);
|
||||
st.tcx.rcache.insert({cnum: st.crate, pos: pos, len: len}, tt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue