You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importStandard.Base.Data.Numbers.Number
plus :Xyz->Abc->Number
plus (a :Xyz) (b :Abc) = a + b
and runs it, this is the output:
enso$ ./built-distribution/enso-engine-0.0.0-dev-linux-amd64/enso-0.0.0-dev/bin/enso --run z.enso
In module z:
Compiler encountered errors:
z.enso[3:8-3:10]: The name `Xyz` could not be found.
z.enso[3:15-3:17]: The name `Abc` could not be found.
Aborting due to 2 errors and 0 warnings.
Execution finished with an error: Compilation aborted due to errors.
at <java> org.graalvm.sdk/org.graalvm.polyglot.Value.invokeMember(Value.java:971)
at <java> org.enso.polyglot.Module.getAssociatedType(Module.scala:19)
at <java> org.enso.runner.Main$.runMain(Main.scala:802)
at <java> org.enso.runner.Main$.runSingleFile(Main.scala:734)
at <java> org.enso.runner.Main$.run(Main.scala:616)
at <java> org.enso.runner.Main$.main(Main.scala:1112)
at <java> org.enso.runner.Main.main(Main.scala)
the exception stacktrace is wrong in this case and has no reasonable meaning. Avoid printing it.
The text was updated successfully, but these errors were encountered:
If one creates an erroneous file
z.enso
:and runs it, this is the output:
the exception stacktrace is wrong in this case and has no reasonable meaning. Avoid printing it.
The text was updated successfully, but these errors were encountered: