You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A group use with function and const items fails to parse ("expected '}' to close use group") #478
compile failed (rc=65):
tests/aot/repro/wrong/use_group_function_const.php:8:21: error: expected '}' to close use group
tests/aot/repro/wrong/use_group_function_const.php:8:22: error: expected ';' after expression
tests/aot/repro/wrong/use_group_function_const.php:8:31: error: expected '=' in const declaration
tests/aot/repro/wrong/use_group_function_const.php:10:1: error: unexpected token in expression: CloseBrace
Found 4 error(s), 0 warning(s).
tests/aot/repro/wrong/use_group_function_const.php: parse failed: expected '}' to close use group at line 8, column 21
compile: front-end (parse/typeck/IR) returned null (rc=65)
Tracking
Known-bug repro: tests/aot/repro/wrong/use_group_function_const.php — bash tests/aot/xfail.sh -k use_group_function_const reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Activity
Parser: tolerant mode, source ranges and written names (LSP foundatio…