mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
allow declaring functions and classLikes after a never-returning call
This commit is contained in:
parent
6e8bd2b207
commit
f4f9bd6711
@ -1065,7 +1065,7 @@ class UnusedCodeTest extends TestCase
|
||||
unrelated();
|
||||
neverReturns();
|
||||
|
||||
function unrelated(){
|
||||
function unrelated():void{
|
||||
echo "hello";
|
||||
}',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user