ghewgill/neon-lang

The following code causes internal compiler error, name not checked.

Closed this issue · 1 comments

The following code:

IMPORT textio

VAR e: textio.TextFile := NIL
TRY
    e := textio.open("LICENSE.txt", textio.Mode.read)
TRAP textio.TextioException.InvalidFile AS e DO
    print("\(e)")
END TRY

Causes a name not checked error to occur in the compiler.

Well, minus my bad markup...