In the example above, the actor-v18 message gets imported. If the statements are reordered, the first one is imported. If the import is broken in two statements, the second one is imported.
Expected: a sensible error message about a conflict.
Also, the error message from an empty import statement is not very useful ("Unexpected import")—though the error message is only from gxi and not from gxc(!) that allows the empty import.
On either v0.18.1 or master, from a file with these contents:
In the example above, the actor-v18 message gets imported. If the statements are reordered, the first one is imported. If the import is broken in two statements, the second one is imported.
Expected: a sensible error message about a conflict.
Also, the error message from an empty import statement is not very useful ("Unexpected import")—though the error message is only from gxi and not from gxc(!) that allows the empty import.