Constructing a tuple with one element results in a term with just the element
For example:
arguments := (instruction);
results in:
ResolveDefs(URI(Language("Java"),[Anonymous("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")]),NablNsCompilationUnit,"current"{Def(URI(Language("Java"),[ID(NablNsCompilationUnit,"current",Unique("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")),Anonymous("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")]))},[])
But
arguments := (instruction, "wtf");
results in:
Submitted by Gabriël Konat on 28 January 2014 at 17:21(ResolveDefs(URI(Language("Java"),[Anonymous("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")]),NablNsCompilationUnit,"current"{Def(URI(Language("Java"),[ID(NablNsCompilationUnit,"current",Unique("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")),Anonymous("/Users/gohla/Spoofax/Workspaces/NBL/java-single-ex/mini.jav/0")]))},[]),"wtf")
Issue Log
On 28 January 2014 at 17:21 Gabriël Konat tagged error
On 28 January 2014 at 17:21 Gabriël Konat tagged stratego
Log in to post comments