mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14143 from ethereum/remove-type-categoryname
Remove the inaccurate `Type::categoryName()`
This commit is contained in:
@@ -4,4 +4,4 @@ contract C {
|
||||
uint a = E.B(1000);
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (46-55): Enum is not callable.
|
||||
// TypeError 5704: (46-55): This expression is not callable.
|
||||
|
||||
@@ -5,4 +5,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (53-60): Rational number literal is not callable.
|
||||
// TypeError 5704: (53-60): This expression is not callable.
|
||||
|
||||
@@ -2,4 +2,4 @@ contract C {
|
||||
uint a = msg(1000);
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (26-35): Magic variable is not callable.
|
||||
// TypeError 5704: (26-35): This expression is not callable.
|
||||
|
||||
@@ -3,4 +3,4 @@ contract C {
|
||||
uint a = m(1000);
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (56-63): Mapping is not callable.
|
||||
// TypeError 5704: (56-63): This expression is not callable.
|
||||
|
||||
@@ -4,4 +4,4 @@ contract C {
|
||||
modifier m(uint) { _; }
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (26-33): Modifier is not callable.
|
||||
// TypeError 5704: (26-33): This expression is not callable.
|
||||
|
||||
@@ -6,4 +6,4 @@ contract C {
|
||||
uint a = A(1000);
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (B.sol:48-55): Module is not callable.
|
||||
// TypeError 5704: (B.sol:48-55): This expression is not callable.
|
||||
|
||||
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (72-78): Contract is not callable.
|
||||
// TypeError 5704: (72-78): This expression is not callable.
|
||||
|
||||
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (90-108): Rational number literal is not callable.
|
||||
// TypeError 5704: (90-108): This expression is not callable.
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (153-157): Mapping is not callable.
|
||||
// TypeError 5704: (153-157): This expression is not callable.
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ contract SomeContract {
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 2333: (106-145): Identifier already declared.
|
||||
// TypeError 5704: (185-195): Integer is not callable.
|
||||
// TypeError 5704: (185-195): This expression is not callable.
|
||||
|
||||
@@ -7,4 +7,4 @@ contract CrashContract {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (170-177): Rational number literal is not callable.
|
||||
// TypeError 5704: (170-177): This expression is not callable.
|
||||
|
||||
@@ -4,4 +4,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 5704: (59-63): Rational number literal is not callable.
|
||||
// TypeError 5704: (59-63): This expression is not callable.
|
||||
|
||||
Reference in New Issue
Block a user