Date: Mon, 04 Oct 2021 07:20:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251760] erlang program doesn't pass guard sequence checks Message-ID: <bug-251760-7788-o3utQJajk1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251760-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-251760-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251760 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 covere= d in the manpage http://erlang.org/doc/man/erl.html but you kinda need to know w= hat 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.e= rl, line 4) 3> guardseq:add(4). 4 ok 4>=20 For language support, best to use erlang-questions mailing list or libera.c= hat irc etc. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251760-7788-o3utQJajk1>