1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 01:42:43 +03:00

Update go and defer statement tests

This commit is contained in:
Rick Winfrey 2017-11-01 14:03:19 -07:00
parent 3a434e50aa
commit a889eb1d98
4 changed files with 72 additions and 4 deletions

View File

@ -1,4 +1,23 @@
(Program
(Module
(Identifier))
(Error))
(Function
(Empty)
(Identifier)
(
(Defer
(Call
(MemberAccess
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) })
(Empty)))
(Go
(Call
(MemberAccess
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) })
(Empty))))))

View File

@ -1,4 +1,23 @@
(Program
(Module
(Identifier))
(Error))
(Function
(Empty)
(Identifier)
(
(Defer
(Call
(MemberAccess
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) })
(Empty)))
(Go
(Call
(MemberAccess
{ (Identifier)
->(Identifier) }
{ (Identifier)
->(Identifier) })
(Empty))))))

View File

@ -1,4 +1,19 @@
(Program
(Module
(Identifier))
(Error))
(Function
(Empty)
(Identifier)
(
(Defer
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty)))
(Go
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty))))))

View File

@ -1,4 +1,19 @@
(Program
(Module
(Identifier))
(Error))
(Function
(Empty)
(Identifier)
(
(Defer
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty)))
(Go
(Call
(MemberAccess
(Identifier)
(Identifier))
(Empty))))))