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

Merge feature.use into master #724

Merged
merged 22 commits into from
Jun 24, 2019
Merged

Merge feature.use into master #724

merged 22 commits into from
Jun 24, 2019

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Jun 18, 2019

nex3 added 18 commits May 17, 2019 14:40
Merge master into feature.use
This allows us to have one fewer synchronized file, which reduces
complexity, and also lets us just write "Module" in async code rather
than "AsyncModule".
Merge master into feature.use
The way this worked previously, you could call "mod.rgb()" for any
module and it would be the same as calling the built-in rgb()
function.
This will allow us to re-use logic for @forward. It also fixes some
usability issues where incorrect or duplicated spans were being used
for @use errors.
Merge branch 'master' into feature.use
Add module-variables() and module-functions()
@nex3 nex3 requested review from jathak and removed request for jathak June 18, 2019 20:42
@nex3
Copy link
Contributor Author

nex3 commented Jun 18, 2019

This isn't actually ready for review yet; I want to wait until #722 has landed as well.

…722)

We now wrap _withStackFrame() around wider sections of code, including
_loadStylesheet() which handles parse errors, so that the @use/@import
stack frames are available.
@nex3
Copy link
Contributor Author

nex3 commented Jun 19, 2019

Now it's ready!

lib/src/async_environment.dart Outdated Show resolved Hide resolved
lib/src/util/prefixed_map_view.dart Outdated Show resolved Hide resolved
lib/src/visitor/async_evaluate.dart Outdated Show resolved Hide resolved
nex3 added a commit that referenced this pull request Jun 21, 2019
Copy link
Contributor Author

@nex3 nex3 left a comment

Choose a reason for hiding this comment

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

I appreciate the thorough review! Normally for these sorts of merges you don't need to go through all the changes since they were already reviewed when they landed on feature.use, but you did find some problems so I can't complain 😅.

I've addressed your comments in #729, which I'll merge into this PR once it lands.

@nex3 nex3 merged commit aca7057 into master Jun 24, 2019
@nex3 nex3 deleted the merge-use branch June 24, 2019 23:40
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