Skip to content
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

split up dart transformations #346

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

jorendumoulin
Copy link
Contributor

This splits the three patterns into separat transformations. This will allow me to:

  • Test the intermediate stages more properly
  • Put other transforms in between that act on the intermediate representations

Copy link
Contributor

@JosseVanDelm JosseVanDelm left a comment

Choose a reason for hiding this comment

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

Looks great! Can you add an init?

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this also be part of the dart folder?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think so, it's more related to streamers

Comment on lines +31 to +32
from compiler.transforms.dart.dart_layout_resolution import DartLayoutResolutionPass
from compiler.transforms.dart.dart_scheduler import DartSchedulerPass
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need an init.py file in the dart folder for this to work in external (pip) installations

Copy link
Contributor Author

Choose a reason for hiding this comment

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

there already is

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