solang icon indicating copy to clipboard operation
solang copied to clipboard

Solidity Compiler for Solana and Polkadot

Results 241 solang issues
Sort by recently updated
recently updated
newest added

Version: v0.3.3: v0.3.3-70-g32a45ea1 Description: Due to the excessively large size of **uint[2**100],** the assignment **x[0][0] = 1;** causes a compiler error. ```solidity contract C { mapping(uint => uint[2**100]) x; mapping(uint...

Version: v0.3.3: Atlantis ```solidity contract C { struct S { bool f; } S s; function f(uint256 a) internal returns (S storage c) { assembly { switch a default {...

Version: v0.3.3: v0.3.3-70-g32a45ea1 Description: Error handling may need optimization. ```solidity contract ByteCast { function fixedToDynamic(bytes32 _fixed) public pure returns (bytes memory) { return bytes4(_fixed); } } ``` ``` solang compile...

Version: v0.3.3: Atlantis ```solidity type MyUInt8 is uint8; contract C { function j(MyUInt8 a) external returns (uint) { return MyUInt8.unwrap(a); } } ``` ``` solang compile --target solana test.sol thread...

Version: v0.3.3: v0.3.3-70-g32a45ea1 Description: **uint256 shifted = (a

Solang version: v0.3.3-70-g32a45ea1 Description: **c.a[0] = new uint[](1);** causes a compilation error. ```solidity contract C { struct S { mapping(uint => uint[]) a; } function f(bool b) public { S...

Solang version: v0.3.3-70-g32a45ea1 Description: Calling the **foo** function of contract **X** fails when using solc + EVM, but succeeds when using solang + SVM, returning 5 (which is an incorrect...

Solang version: v0.3.3-70-g32a45ea1 Description: In solc + EVM, the value of y is 1, but in solang + SVM, the value of y is 3. ```solidity contract C { uint256...

Version: v0.3.3: v0.3.3-70-g32a45ea1 Description: An error occurred when assigning a value to **x[0].x[0] = 42;**. The location where the error occurred can be found in main branch [Link](https://github.com/hyperledger-solang/solang/blob/main/src/emit/binary.rs#L967). ```solidity contract...

Solang version: v0.3.3-70-g32a45ea1 Description: **c.slot := add(c.slot, 1)** causes a compilation error. ```solidity contract C { struct S { bool f; } S s; function f() internal pure returns (S...