[Bug 251760] erlang program doesn't pass guard sequence checks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Oct 2021 07:20:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251760 Dave Cottlehuber <dch@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not Accepted CC| |dch@freebsd.org --- Comment #2 from Dave Cottlehuber <dch@freebsd.org> --- Lari this is because you're not using `erl -s ..` correctly. This is covered in the manpage http://erlang.org/doc/man/erl.html but you kinda need to know what you're looking at first. -s takes a module name (guardseq) not a filename. $ erl -noshell -s guardseq start -s init stop 4 I'd normally test this via shell: $ erl Erlang/OTP 24 [erts-12.1.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace] [sharing-preserving] Eshell V12.1.1 (abort with ^G) 1> c(guardseq). {ok,guardseq} 2> guardseq:add(1). ** exception error: no function clause matching guardseq:add(1) (guardseq.erl, line 4) 3> guardseq:add(4). 4 ok 4> For language support, best to use erlang-questions mailing list or libera.chat irc etc. -- You are receiving this mail because: You are the assignee for the bug.