mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9909 from ethereum/fix-9890
Fix missing annotation settings because of early return
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Used to trigger assert
|
||||
contract s{}
|
||||
function f() {s[:][];}
|
||||
// ----
|
||||
// TypeError 1760: (53-57): Types cannot be sliced.
|
||||
// TypeError 2876: (53-59): Index access for contracts or libraries is not possible.
|
||||
Reference in New Issue
Block a user