-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Remove workarounds for Scala 3 error message checks in tests #354
Conversation
Blocked by a bug in |
After some discussions and investigations, it seems that it's not a bug but an intended behavior. To fix all tests and have the same error messages between 2 and 3 I need to:
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #354 +/- ##
==========================================
- Coverage 79.11% 79.02% -0.09%
==========================================
Files 105 105
Lines 3974 4020 +46
Branches 177 179 +2
==========================================
+ Hits 3144 3177 +33
- Misses 830 843 +13
☔ View full report in Codecov by Sentry. |
…s/exprs, properly dealias types for printing, add prefixes for class/def type definitions
…p Fatal errors to preserve the State and show the information in failed macro expansion
5fef941
to
996b0db
Compare
38d0f05
to
f061416
Compare
…ince it makes tests less portable
e100e3d
to
d4d8f5d
Compare
Ultimately, showing |
TODO:
Type.prettyPrint[T]
between Scala 2 and Scala 3Transformer
andPartialTransformer
type classes in Scala 3 - currently the passsrc
as the name of the expr, while they should use fresh name based on type$macro$1
from some freshterms on Scala 3 to align the behavior with Scala 2$macro
to prefix so that both implementations would generate$prefix$macro$n
, remove special cases in dropping$macro$n
and add this suffix in testschildren queried before class was discovered
error when typeCheckErrors is used scala/scala3#18484