Merge branch 'issue-70' of git://github.com/verpeteren/wren into verpeteren-issue-70

This commit is contained in:
Bob Nystrom
2015-02-27 07:41:25 -08:00
9 changed files with 41 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
var f = null
{
var a = "a"
f = new Fn {
IO.print(a)
}
}
//@FIXME: repair the segfault create a propper test for the subclassing
//var closureSegfault = f
//class SubClosureSegfault is closureSegfault {}
//var closureOk = f.call
//class SubClosureOk is closureOk {}