-
Notifications
You must be signed in to change notification settings - Fork 79
Support php 8.1 never
return type, add to returnTypeDeclarationTokens
#372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 18, 2022
Similar to 'void', it's a compile time error to use void as a parameter/property type, not a parse time error. But `static` is a parse error. (It can also be used in union types) Remove redundant tokens added to merged returnTypeDeclarationTokens Closes microsoft#373 Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 18, 2022
Similar to 'void', it's a compile time error to use void as a parameter/property type, not a parse time error. But `static` is a parse error. (It can also be used in union types) Remove redundant tokens added to merged returnTypeDeclarationTokens Closes microsoft#373 Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 18, 2022
Similar to 'void', it's a compile time error to use void as a parameter/property type, not a parse time error. But `static` is a parse error. (It can also be used in union types) Remove redundant tokens added to merged returnTypeDeclarationTokens Closes microsoft#373 Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 19, 2022
Support php 8.2's Disjunctive Normal Form Types (allowing parenthesized intersection types of 2 or more types in union types) https://wiki.php.net/rfc/dnf_types Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 19, 2022
Support php 8.2's Disjunctive Normal Form Types (allowing parenthesized intersection types of 2 or more types in union types) https://wiki.php.net/rfc/dnf_types Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 23, 2022
Similar to 'void', it's a compile time error to use void as a parameter/property type, not a parse time error. But `static` is a parse error. (It can also be used in union types) Remove redundant tokens added to merged returnTypeDeclarationTokens Closes microsoft#373 Closes microsoft#372
TysonAndre
added a commit
to TysonAndre/tolerant-php-parser
that referenced
this issue
Aug 23, 2022
Support php 8.2's Disjunctive Normal Form Types (allowing parenthesized intersection types of 2 or more types in union types) https://wiki.php.net/rfc/dnf_types Closes microsoft#372
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wiki.php.net/rfc/noreturn_type#vote (secondary vote was for
never
)The text was updated successfully, but these errors were encountered: