Add calls to ignoreNewlines in the import compiler function to allow newlines between the import keyword and the module string, and between the module string and the for clause. Create a new test case test/language/module/newlines/ that verifies multiline import syntax works correctly with both bare imports and imports with variable bindings.
5 lines
62 B
Plaintext
5 lines
62 B
Plaintext
// nontest
|
|
System.print("ran module")
|
|
|
|
var A = "a"
|
|
var B = "b" |