Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow only atomic types as template bound #28

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

Closed
arnaud-lb wants to merge 1 commit into phpstan:master from arnaud-lb:template-atomic-bound

Conversation

Copy link
Contributor

@arnaud-lb arnaud-lb commented May 22, 2019

Support only atomic types as template bound

Copy link
Collaborator

This solves nothing as atomic just requires some types (such as union types) to be wrapped in parentheses (see ABNF grammar).

Copy link
Member

ondrejmirtes commented May 22, 2019 via email

I decided we should support even unions so this no longer has to be solved.
On 2019年5月22日 at 20:11, Jan Tvrdík ***@***.***> wrote: This solves nothing as atomic just requires some types (such as union types) to be wrapped in parentheses (see ABNF grammar <https://github.com/phpstan/phpdoc-parser/blob/847540a54bdb4bd1ebdab5b2e202ae8f58ffb046/doc/grammars/type.abnf#L18-L21> ). — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#28?email_source=notifications&email_token=AAAZTOB2ZYSY543DN4AAKTDPWWEDNA5CNFSM4HOUZKQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV73GDY#issuecomment-494908175>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAAZTOCO3VCGYF6PQ74Z3RDPWWEDNANCNFSM4HOUZKQQ> .
-- Ondřej Mirtes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /