Skip to content

[ICE] Function calling followed by '!' causes an error #1132

@Subway2023

Description

@Subway2023
contract C {
  x: u256 = 42
  pub fn h(self) -> Bytes<0> {
      return funsig!(x)
  }
}
thread 'main' panicked at crates/parser/src/lexer/token.rs:313:22:
internal error: entered unreachable code
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

You've hit an internal compiler error. This is a bug in the Fe compiler.
Fe is still under heavy development, and isn't yet ready for production use.

If you would, please report this bug at the following URL:
  https://github.com/ethereum/fe/issues/new

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