File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,10 @@ impure fn parse_ty_obj(parser p, &mutable ast.span hi) -> ast.ty_ {
173
173
expect ( p, token. OBJ ) ;
174
174
impure fn parse_method_sig ( parser p) -> ast. ty_method {
175
175
auto flo = p. get_span ( ) ;
176
+
177
+ // FIXME: do something with this, currently it's dropped on the floor.
178
+ let ast. effect eff = parse_effect ( p) ;
179
+
176
180
expect ( p, token. FN ) ;
177
181
auto ident = parse_ident ( p) ;
178
182
auto f = parse_ty_fn ( p, flo) ;
@@ -204,6 +208,12 @@ impure fn parse_ty(parser p) -> @ast.ty {
204
208
auto lo = p. get_span ( ) ;
205
209
auto hi = lo;
206
210
let ast. ty_ t;
211
+
212
+ // FIXME: do something with these; currently they're
213
+ // dropped on the floor.
214
+ let ast. effect eff = parse_effect ( p) ;
215
+ let ast. layer lyr = parse_layer ( p) ;
216
+
207
217
alt ( p. peek ( ) ) {
208
218
case ( token. BOOL ) { p. bump ( ) ; t = ast. ty_bool ; }
209
219
case ( token. INT ) { p. bump ( ) ; t = ast. ty_int ; }
You can’t perform that action at this time.
0 commit comments