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
The following program crashes with a non-Gleam error when targeting Erlang.
pubfnmain(){let_=1.8e308}
$ gleam run
Compiling float_stuff
/home/ryan/projects/gleam/float_stuff/src/float_stuff.gleam:4:9: illegal float
/home/ryan/projects/gleam/float_stuff/src/float_stuff.gleam:4:16: syntax error before: '.'
/home/ryan/projects/gleam/float_stuff/build/dev/erlang/float_stuff/_gleam_artefacts/float_stuff.erl:4:2: function main/0 undefined
% 4| -export([main/0]).
% | ^
/home/ryan/projects/gleam/float_stuff/src/float_stuff.gleam:2:2: spec for undefined function main/0
% 2| let _ = 1.8e308
% | ^
error: Shell command failure
There was a problem when running the shell command `escript`.
Here is the result of running GLEAM_LOG=trace gleam run: TRACE.txt
(gleam 1.6.3)
The text was updated successfully, but these errors were encountered:
The following program crashes with a non-Gleam error when targeting Erlang.
Here is the result of running
GLEAM_LOG=trace gleam run
:TRACE.txt
(gleam 1.6.3)
The text was updated successfully, but these errors were encountered: