mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Code adjustment after review
This commit is contained in:
+1
-1
@@ -21,4 +21,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 2271: (s2.sol:184-209): Binary operator + not compatible with types Int and Int. Multiple user-defined functions provided for this operator.
|
||||
// TypeError 2271: (s2.sol:184-209): Built-in binary operator + cannot be applied to types Int and Int. Multiple user-defined functions provided for this operator.
|
||||
|
||||
+1
-1
@@ -17,4 +17,4 @@ function test() pure returns (Int) {
|
||||
}
|
||||
|
||||
// ----
|
||||
// TypeError 2271: (s1.sol:284-309): Binary operator + not compatible with types Int and Int. Multiple user-defined functions provided for this operator.
|
||||
// TypeError 2271: (s1.sol:284-309): Built-in binary operator + cannot be applied to types Int and Int. Multiple user-defined functions provided for this operator.
|
||||
|
||||
@@ -20,4 +20,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 2271: (s2.sol:104-129): Binary operator - not compatible with types Int and Int. No matching user-defined operator found.
|
||||
// TypeError 2271: (s2.sol:104-129): Built-in binary operator - cannot be applied to types Int and Int. No matching user-defined operator found.
|
||||
|
||||
Reference in New Issue
Block a user