mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add source locations to syntax test expectations.
This commit is contained in:
+4
-4
@@ -5,7 +5,7 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: (74-83): This type cannot be encoded.
|
||||
// TypeError: (85-86): This type cannot be encoded.
|
||||
// TypeError: (88-98): This type cannot be encoded.
|
||||
// TypeError: (100-115): This type cannot be encoded.
|
||||
|
||||
+5
-5
@@ -6,8 +6,8 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: (80-106): This type cannot be encoded.
|
||||
// TypeError: (108-113): This type cannot be encoded.
|
||||
// TypeError: (160-164): This type cannot be encoded.
|
||||
// TypeError: (166-168): This type cannot be encoded.
|
||||
// TypeError: (170-176): This type cannot be encoded.
|
||||
|
||||
+3
-3
@@ -9,6 +9,6 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: Defining empty structs is deprecated.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// Warning: (51-63): Defining empty structs is deprecated.
|
||||
// TypeError: (131-132): This type cannot be encoded.
|
||||
// TypeError: (134-135): This type cannot be encoded.
|
||||
|
||||
+6
-6
@@ -9,9 +9,9 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning: Defining empty structs is deprecated.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// TypeError: This type cannot be encoded.
|
||||
// Warning: (51-63): Defining empty structs is deprecated.
|
||||
// TypeError: (168-169): This type cannot be encoded.
|
||||
// TypeError: (171-172): This type cannot be encoded.
|
||||
// TypeError: (179-180): This type cannot be encoded.
|
||||
// TypeError: (182-186): This type cannot be encoded.
|
||||
// TypeError: (188-194): This type cannot be encoded.
|
||||
|
||||
Reference in New Issue
Block a user