EBNF.cr icon indicating copy to clipboard operation
EBNF.cr copied to clipboard

Error running code samples in README

Open bzlister opened this issue 2 years ago • 0 comments

Tried running a couple of the code samples in the Parsing section, got the same error each time:

In lib\ebnf\src\ebnf\grammar\rule.cr:89:48

 89 | def initialize(@atoms = Array(Atom).new, @action = nil)
                                               ^
Error: instance variable @action of EBNF::Bison::Rule was inferred to be Nil, but Nil alone provides no information

bzlister avatar Apr 03 '24 05:04 bzlister