Skip to content

Support phantom types inside a method body#39

Open
zohnannor wants to merge 1 commit intodtolnay:masterfrom
zohnannor:support-phantom-types-inside-a-method-body
Open

Support phantom types inside a method body#39
zohnannor wants to merge 1 commit intodtolnay:masterfrom
zohnannor:support-phantom-types-inside-a-method-body

Conversation

@zohnannor
Copy link
Copy Markdown

Fixes #1.

Notes: the name in type hints is different; error reports are different; docs are rendered differently. Due to that, I wouldn't be surprised if you don't approve these changes. However, I don't want to just throw this code away; it might be useful for a full, non-breaking fix.

Before After
image image
image image
image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support phantom types inside a method body

1 participant