Skip to content

Build fails with Crystal 1.7.2 #3

@binarytemple

Description

@binarytemple
~/repos/bt/EBNF.cr/ asdf which crystal                  /Users/b/.asdf/installs/crystal/1.7.2/bin/crystal
~/repos/bt/EBNF.cr/ asdf which shards 
/Users/b/.asdf/installs/crystal/1.7.2/embedded/bin/shards
~/repos/bt/EBNF.cr/ shards build --release --production
Dependencies are satisfied
Building: ebnf
Error target ebnf failed to compile:
Showing last frame. Use --error-trace for full trace.

In 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions