@@ -360,3 +360,57 @@ indexers.cs:
360360# 130| 4: [BlockStmt] {...}
361361# 130| 0: [ReturnStmt] return ...;
362362# 130| 0: [IntLiteral] 0
363+ # 134| 5: [RefStruct] S
364+ # 136| 6: [Field] x
365+ # 136| -1: [TypeMention] int
366+ # 138| 7: [InstanceConstructor] S
367+ #-----| 2: (Parameters)
368+ # 138| 0: [Parameter] v
369+ # 138| -1: [TypeMention] int
370+ # 139| 4: [BlockStmt] {...}
371+ # 140| 0: [ExprStmt] ...;
372+ # 140| 0: [AssignExpr] ... = ...
373+ # 140| 0: [FieldAccess] access to field x
374+ # 140| 1: [RefExpr] ref ...
375+ # 140| 0: [ParameterAccess] access to parameter v
376+ # 143| 8: [Indexer] Item
377+ # 143| -1: [TypeMention] int
378+ #-----| 1: (Parameters)
379+ # 143| 0: [Parameter] i
380+ # 143| -1: [TypeMention] int
381+ # 145| 3: [Getter] get_Item
382+ #-----| 2: (Parameters)
383+ # 143| 0: [Parameter] i
384+ # 145| 4: [BlockStmt] {...}
385+ # 145| 0: [ReturnStmt] return ...;
386+ # 145| 0: [RefExpr] ref ...
387+ # 145| 0: [FieldAccess] access to field x
388+ # 149| 6: [Class] TestRefReturns
389+ # 151| 6: [Method] M
390+ # 151| -1: [TypeMention] Void
391+ # 152| 4: [BlockStmt] {...}
392+ # 153| 0: [LocalVariableDeclStmt] ... ...;
393+ # 153| 0: [LocalVariableDeclAndInitExpr] Int32 a = ...
394+ # 153| -1: [TypeMention] int
395+ # 153| 0: [LocalVariableAccess] access to local variable a
396+ # 153| 1: [IntLiteral] 0
397+ # 155| 1: [LocalVariableDeclStmt] ... ...;
398+ # 155| 0: [LocalVariableDeclAndInitExpr] S s = ...
399+ # 155| -1: [TypeMention] S
400+ # 155| 0: [LocalVariableAccess] access to local variable s
401+ # 155| 1: [ObjectCreation] object creation of type S
402+ # 155| -1: [TypeMention] S
403+ # 155| 0: [LocalVariableAccess] access to local variable a
404+ # 156| 2: [ExprStmt] ...;
405+ # 156| 0: [AssignExpr] ... = ...
406+ # 156| 0: [IndexerCall] access to indexer
407+ # 156| -1: [LocalVariableAccess] access to local variable s
408+ # 156| 0: [IntLiteral] 0
409+ # 156| 1: [IntLiteral] 1
410+ # 157| 3: [LocalVariableDeclStmt] ... ...;
411+ # 157| 0: [LocalVariableDeclAndInitExpr] Int32 x = ...
412+ # 157| -1: [TypeMention] int
413+ # 157| 0: [LocalVariableAccess] access to local variable x
414+ # 157| 1: [IndexerCall] access to indexer
415+ # 157| -1: [LocalVariableAccess] access to local variable s
416+ # 157| 0: [IntLiteral] 0
0 commit comments