mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -21,5 +21,5 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (203-208): Overflow (resulting value larger than 2**256 - 1) happens here
|
||||
// Warning: (136-149): Assertion violation happens here
|
||||
// Warning 2661: (203-208): Overflow (resulting value larger than 2**256 - 1) happens here
|
||||
// Warning 4661: (136-149): Assertion violation happens here
|
||||
|
||||
@@ -15,4 +15,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (144-157): Assertion violation happens here
|
||||
// Warning 4661: (144-157): Assertion violation happens here
|
||||
|
||||
+2
-2
@@ -17,5 +17,5 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (205-215): Type conversion is not yet fully supported and might yield false positives.
|
||||
// Warning: (205-215): Type conversion is not yet fully supported and might yield false positives.
|
||||
// Warning 5084: (205-215): Type conversion is not yet fully supported and might yield false positives.
|
||||
// Warning 5084: (205-215): Type conversion is not yet fully supported and might yield false positives.
|
||||
|
||||
@@ -20,4 +20,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (287-300): Assertion violation happens here
|
||||
// Warning 4661: (287-300): Assertion violation happens here
|
||||
|
||||
+1
-1
@@ -24,4 +24,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (266-271): Condition is always true.
|
||||
// Warning 6838: (266-271): Condition is always true.
|
||||
|
||||
+1
-1
@@ -32,4 +32,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (461-475): Assertion violation happens here
|
||||
// Warning 4661: (461-475): Assertion violation happens here
|
||||
|
||||
@@ -26,4 +26,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (170-183): Assertion violation happens here
|
||||
// Warning 4661: (170-183): Assertion violation happens here
|
||||
|
||||
@@ -22,4 +22,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (311-324): Assertion violation happens here
|
||||
// Warning 4661: (311-324): Assertion violation happens here
|
||||
|
||||
@@ -13,4 +13,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (164-177): Assertion violation happens here
|
||||
// Warning 4661: (164-177): Assertion violation happens here
|
||||
|
||||
@@ -15,4 +15,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (145-150): Overflow (resulting value larger than 2**256 - 1) happens here
|
||||
// Warning 2661: (145-150): Overflow (resulting value larger than 2**256 - 1) happens here
|
||||
|
||||
@@ -12,4 +12,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (128-142): Assertion violation happens here
|
||||
// Warning 4661: (128-142): Assertion violation happens here
|
||||
|
||||
@@ -12,4 +12,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (121-135): Assertion violation happens here
|
||||
// Warning 4661: (121-135): Assertion violation happens here
|
||||
|
||||
@@ -23,4 +23,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: (156-170): Assertion violation happens here
|
||||
// Warning 4661: (156-170): Assertion violation happens here
|
||||
|
||||
Reference in New Issue
Block a user