Closed chancehudson closed 3 years ago
I'm pretty sure this is the same issue as #3799. There's already a PR merged to fix it which should go out in tomorrow's release. Still, thanks for the report!
Ah, thanks for the heads up! I'll reopen if the next release doesn't fix.
Issue
Compilation fails as a result of an invalid regular expression.
Steps to Reproduce
Running these shell commands will reproduce the error.
Specifically the error is occurring when compiling this solidity code.
This is the section of truffle throwing the error. This is the message that is output by solc (and then used to construct the regex). All the import statements in the error from solc have strange unicode characters at the beginning.
This issue is new with 5.1.66.
Expected Behavior
The code compiles without error.
Actual Results
Environment
node:14.14-buster-slim
truffle version
): 5.1.66node --version
): 14.14.0npm --version
): yarn v1.22.5