Skip to content

compiling type spec of binary fails #19

@johnsnewby

Description

@johnsnewby

Hi there,

compiling this file:

-module(test).
-type txs_hash() :: <<_:(32 * 8)>>.

fails with

newby@zen:~/projects/aeternity/eir$ ./target/debug/eir_compile  ../test.erl 
error: expected: ident, int
- <nofile>:2:25
2 | -type txs_hash() :: <<_:(32 * 8)>>.
  |                         ^ unrecognized token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions