1
0
forked from Mirror/wren

correct attributes example (#978)

This commit is contained in:
Joram Vandemoortele
2021-04-16 20:08:01 +02:00
committed by GitHub
parent 8eb51d9327
commit 754d5a59e9

View File

@ -746,15 +746,15 @@ class Example {
#!getter
getter {}
// { regular(_,_): { regular:[null] } }
// { regular(_,_): { null: { regular:[null] } } }
#!regular
regular(arg0, arg1) {}
// { static other(): { isStatic:[true] } }
// { static other(): { null: { isStatic:[true] } } }
#!isStatic = true
static other()
static other() {}
// { foreign static example(): { isForeignStatic:[32] } }
// { foreign static example(): { null: { isForeignStatic:[32] } } }
#!isForeignStatic=32
foreign static example()
}