-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
145 additions
and
47 deletions.
There are no files selected for viewing
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 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 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
pragma foo bar; | ||
//~^ ERROR unknown pragma | ||
pragma amogus; | ||
//~^ ERROR unknown pragma | ||
pragma amogus sus; | ||
//~^ ERROR unknown pragma | ||
pragma amogus 69; | ||
//~^ ERROR unknown pragma | ||
pragma amogus 69 diwqbn9ru3b2q945 390ru31290r 0qjr09wadm; | ||
//~^ ERROR unknown pragma |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
error: unknown pragma | ||
--> $DIR/pragma_unknown.sol:2:1 | ||
| | ||
LL | pragma foo bar; | ||
| ^^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: unknown pragma | ||
--> $DIR/pragma_unknown.sol:4:1 | ||
| | ||
LL | pragma amogus; | ||
| ^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: unknown pragma | ||
--> $DIR/pragma_unknown.sol:6:1 | ||
| | ||
LL | pragma amogus sus; | ||
| ^^^^^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: unknown pragma | ||
--> $DIR/pragma_unknown.sol:8:1 | ||
| | ||
LL | pragma amogus 69; | ||
| ^^^^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: unknown pragma | ||
--> $DIR/pragma_unknown.sol:10:1 | ||
| | ||
LL | pragma amogus 69 diwqbn9ru3b2q945 390ru31290r 0qjr09wadm; | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: aborting due to 5 previous errors | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pragma abicoder v1; | ||
pragma abicoder v2; | ||
pragma abicoder "v1"; | ||
pragma abicoder "v2"; | ||
|
||
// These aren't accepted by solc. | ||
pragma "abicoder" v1; | ||
pragma "abicoder" v2; | ||
pragma "abicoder" "v1"; | ||
pragma "abicoder" "v2"; | ||
|
||
pragma experimental ABIEncoderV2; | ||
pragma experimental "ABIEncoderV2"; | ||
pragma experimental SMTChecker; | ||
pragma experimental "SMTChecker"; | ||
|
||
// These aren't accepted by solc. | ||
pragma "experimental" ABIEncoderV2; | ||
pragma "experimental" "ABIEncoderV2"; | ||
pragma "experimental" SMTChecker; | ||
pragma "experimental" "SMTChecker"; |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
error: number too large to fit in target type | ||
--> $DIR/pragma_versions.sol:45:18 | ||
| | ||
LL | pragma solidity ^4294967296; | ||
| ^^^^^^^^^^ | ||
| | ||
|
||
error: number too large to fit in target type | ||
--> $DIR/pragma_versions.sol:47:18 | ||
| | ||
LL | pragma solidity ^0.4294967296; | ||
| ^^^^^^^^^^^^ | ||
| | ||
|
||
error: invalid digit found in string | ||
--> $DIR/pragma_versions.sol:50:17 | ||
| | ||
LL | pragma solidity 88_; | ||
| ^^^ | ||
| | ||
|
||
error: ranges can only be combined using the || operator | ||
--> $DIR/pragma_versions.sol:53:1 | ||
| | ||
LL | pragma solidity 0 - 1 0 - 2; | ||
| ^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
|
||
error: aborting due to 4 previous errors | ||
|
This file was deleted.
Oops, something went wrong.