php-parser icon indicating copy to clipboard operation
php-parser copied to clipboard

should throw error on invalid syntax

Open alexander-akait opened this issue 6 years ago • 3 comments

Input:

try { call(); } catch (| Exception $e) { do_something(); }

Affected all nodes use this.read_list api

alexander-akait avatar Aug 27 '19 15:08 alexander-akait

damn, this function was implemented on namespaces, and next used elsewhere

ichiriac avatar Aug 27 '19 23:08 ichiriac

ok, this can be fixed on next release as it's not a really a blocking bug

ichiriac avatar Jan 06 '20 18:01 ichiriac

same thing on class foo { static const bar = 1; } some flags are not allowed on const nodes be there is missing a test

ichiriac avatar Mar 26 '20 08:03 ichiriac