Update besar apk finance
This commit is contained in:
@@ -1078,6 +1078,13 @@ abstract class ParserAbstract implements Parser {
|
||||
$node->default->getAttributes()
|
||||
));
|
||||
}
|
||||
|
||||
if ($node->type instanceof Identifier && $node->type->name === 'void') {
|
||||
$this->emitError(new Error(
|
||||
'void cannot be used as a parameter type',
|
||||
$node->type->getAttributes()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
protected function checkTryCatch(TryCatch $node): void {
|
||||
|
||||
Reference in New Issue
Block a user