Skip to content

Conversation

@ubaidsk
Copy link
Collaborator

@ubaidsk ubaidsk commented Aug 19, 2023

towards #2276, #2274

@ubaidsk ubaidsk marked this pull request as draft August 19, 2023 14:13
@ubaidsk ubaidsk force-pushed the remove_dataclass_emulation branch from 7377ff9 to ba6507d Compare August 19, 2023 14:29
@ubaidsk
Copy link
Collaborator Author

ubaidsk commented Aug 19, 2023

I think this PR would hopefully pass after rebasing on top of #2284.

PS: Reference tests might need to be updated. I will complete it after the rebase.

@certik certik force-pushed the remove_dataclass_emulation branch from ba6507d to 0017058 Compare August 19, 2023 19:12
arg.__class_getitem__ = __class_getitem__

return py_dataclass(arg)

Copy link
Contributor

Choose a reason for hiding this comment

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

Beautiful! That's exactly what we need.

@ubaidsk ubaidsk force-pushed the remove_dataclass_emulation branch from 0017058 to 8759288 Compare August 19, 2023 19:37
@ubaidsk ubaidsk marked this pull request as ready for review August 19, 2023 19:41
@ubaidsk ubaidsk requested a review from certik August 19, 2023 19:43
Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

I think this works! Thanks, great job.

@certik certik merged commit 8c42eaf into lcompilers:main Aug 19, 2023
@ubaidsk ubaidsk deleted the remove_dataclass_emulation branch August 19, 2023 21:24
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