Skip to content

Conversation

@DarkDimius
Copy link
Contributor

Fix #349, fix #348, assert for overflows in periods. Disable tests that fail late in backend due to other phases.

@odersky please review.

@odersky
Copy link
Contributor

odersky commented Feb 11, 2015

The first 4 commits LGTM. I have some concerns regarding the last one. Period creation looks like a hotspot - we should verify that these asserts are not going to slow us down (even (say) 0.2% slowdown is too much for this!). I am raising this because I found it very easy to diagnose what went wrong even without the asserts. I added a phase and immediately got weird errors about phases everywhere. Maybe a more global criterion like count the installed phases in Compiler?

@DarkDimius
Copy link
Contributor Author

@odersky please have a look on new commit.

DarkDimius added a commit that referenced this pull request Feb 12, 2015
@DarkDimius DarkDimius merged commit c12f213 into scala:master Feb 12, 2015
@allanrenucci allanrenucci deleted the backend-backports branch December 14, 2017 16:58
tgodzik added a commit to tgodzik/scala3 that referenced this pull request Apr 29, 2025
Backport "Check for tasty error in template trees." to 3.3 LTS
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.

moduleClass is broken after erasure Flatten breaks classSym.linkedClass

2 participants