Skip to content

Move module creation to program #2550

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

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Move module creation to program #2550

merged 1 commit into from
Nov 4, 2022

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Nov 4, 2022

Moves creation of the module to the program, which is the common link between all of parser, resolver, compiler and module. With the change, it for example becomes possible to assign names of program elements when building compound types for classes and signatures, where previously there was a missing reference to the module (type => program !=> module) the names are supposed to be added to.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO merged commit 625bf0d into main Nov 4, 2022
@CountBleck
Copy link
Member

This change also allows CompiledExpression to be usable in transforms, I think.

@HerrCai0907 HerrCai0907 deleted the program-with-module branch October 17, 2023 09:00
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