rlox/interpreter/tests/lox/field/set_on_function.lox
2024-09-01 19:15:55 +02:00

3 lines
86 B
Lox

fun foo() {}
foo.bar = "value"; // expect runtime error: Only instances have fields.