Subject: Internal Compiler Error When Building Contract with Latest Toolchain
Hello everyone,
I attempted to build a contract using the latest toolchain but encountered the following issue:
Internal compiler error: Trying to compile a deferred function application with deferred monomorphization
Please file an issue on the repository and include the code that triggered this error.
Steps to Reproduce:
- Upgrade to the latest version of
forc
. - Clone the contract from this repository:GitHub - compolabs/orderbook-contract.
- Comment out the contents of the
fuel-toolchain.toml
file. - Run
forc build
.
After executing these steps, I received the error in the console.
Has anyone else experienced this issue? Any guidance on how to resolve it would be greatly appreciated!
Thank you!