-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
This bug is very strange. If I copy the program into another Fe file, it compiles normally. Therefore, it is quite confusing.
contract C{
pub fn bar(self) -> u256{
let a: u256 = 123
return a
}
}
fe build test.fe
Error: ParserError: Illegal token: Identifier-start is not allowed at end of a number.
--> input.yul:11:29:
|
11 | let $ret := 3$C$bar()
| ^
Error: ParserError: Expected keyword "data" or "object" or "}".
--> input.yul:11:29:
|
11 | let $ret := 3$C$bar()
| ^
thread 'main' panicked at crates/driver/src/lib.rs:356:13:
Yul compilation failed with the above errors
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
Labels
No labels