Skip to content

Use typed parser modifiers#161

Open
virtuald wants to merge 1 commit into
mainfrom
typed-parser-modifiers
Open

Use typed parser modifiers#161
virtuald wants to merge 1 commit into
mainfrom
typed-parser-modifiers

Conversation

@virtuald

Copy link
Copy Markdown
Member

Remove those weird dictionaries and replace them with more obvious data structures to assist with type checking.

Comment thread tests/test_parserstate.py
return stream.token()


def test_parsed_type_modifiers_are_explicit_typed_fields() -> None:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what this is testing? It seems like it's just constraining the implementation itself?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... lol AI

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.

2 participants