JFR-51: Add quotation for VarInit
var-init |[ {a, b} ]|Reported by Eric Tanter
Submitted on 28 June 2006 at 23:00
Issue Log
On 28 June 2006 at 23:06 Jira commented:
JFR-51, martin:
===============================================
module foo
imports libstratego-lib Java-15
strategiesmain =
!|[ new int[]{ ~* [1,2] } ]|foo =
map(!var-init |[ {a, b} ]|)
===============================================$ strc -i foo.str $(strcflags java-front) -la stratego-lib
$ ./foo | pp-java
new int[]{{a, b}, {a, b}}
Log in to post comments