1
0
forked from Mirror/wren

WrenValue -> WrenHandle.

This commit is contained in:
Bob Nystrom
2016-05-20 20:55:28 -07:00
parent 5d98d20175
commit 0a060a9678
22 changed files with 235 additions and 266 deletions

11
test/api/handle.wren Normal file
View File

@ -0,0 +1,11 @@
class Handle {
foreign static value=(value)
foreign static value
}
Handle.value = ["list", "of", "strings"]
// Make sure the handle lives through a GC.
System.gc()
System.print(Handle.value) // expect: [list, of, strings]