This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This smart contract appears to break compilation, with optimization enabled, using: | |
// solc 0.5.0+commit.1d4f565a.Emscripten.clang | |
// This is the default solcjs version still used by the current truffle npm version 5.0.14. | |
// | |
// It causes compilation to hang indefinitely for optimization = yes, runs = 200, yul = no/yes. | |
// See also the similar case | |
// https://gist.github.com/nweller/f571897ee44a5ada6fd2300e39007edf | |
// | |
// Compilation with the same compiler version in http://remix.ethereum.org with optimization also fails to produce a result. | |
// More recent solcjs versions in remix do not reproduce the erroneous result, so the issue appears to have been fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This smart contract appears to break compilation, with optimization enabled, using: | |
// solc 0.5.0+commit.1d4f565a.Emscripten.clang | |
// This is the default solcjs version still used by the current truffle npm version 5.0.14. | |
// | |
// It causes an assertion error for optimization = yes, runs = 200, yul = no/yes. | |
// Other errors that have been observed for variants of this contract: | |
// | |
// "RangeError: Maximum call stack size exceeded" | |
// An Internal Compiler Error | |
// |