Retoor software development Projects Research SearchXNG
Register Sign In

4 lines
181 B
Plaintext
Raw Normal View History

Generate a runtime error if a foreign method was not found.
2015-03-26 15:17:09 +01:00
class Foo {
Relative imports! This is a breaking change because existing imports in user Wren code that assume the path is relative to the entrypoint file will now likely fail. Also, stack trace output and host API calls that take a module string now need the resolved module string, not the short name that appears in the import.
2018-03-24 19:10:36 +01:00
foreign someUnknownMethod // expect runtime error: Could not find foreign method 'someUnknownMethod' for class Foo in module 'test/language/foreign/unknown_method'.
Generate a runtime error if a foreign method was not found.
2015-03-26 15:17:09 +01:00
}
Reference in New Issue Copy Permalink
8210452970
wren/test/language/foreign/unknown_method.wren
Response time: 49ms
Mail Licenses API