-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
build.mill files compiled by Scala 3 #3369
base: main
Are you sure you want to change the base?
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e3bfb3a - Browse repository at this point
Copy the full SHA e3bfb3aView commit details -
Part 1 - fix compilation errors and stub macros
- use Scala 3.5.0 - add Scala 3 dialect to scalafmt.conf - synthesize Mirrors from macro - remove some warnings - run scalafmt on previous code - use scala 3 version of scalatags in test Note: scalatags brings in scala 2 version of sourcecode transitively, which then fails to summon sourcecode.Enclosing. - re-enable jmh, bsp and testkit modules in integration tests - fix giter8 module resolution with scala 3 - fix compilation of scalalib tests - derive ReadWriter for PomSettings - fix compilation of scalajslib tests - fix compilation of scalanativelib tests - move things-outside-top-level-module to integration.feature - resolve scala-library when mill scala version is 3.x - add given imports
Configuration menu - View commit details
-
Copy full SHA for ee74dd7 - Browse repository at this point
Copy the full SHA ee74dd7View commit details -
Part 2 - reimplement discover macro
- add import mill.given - fix summon of Discover in CodeGen
Configuration menu - View commit details
-
Copy full SHA for c2474b5 - Browse repository at this point
Copy the full SHA c2474b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53745d1 - Browse repository at this point
Copy the full SHA 53745d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05111a2 - Browse repository at this point
Copy the full SHA 05111a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 699adc1 - Browse repository at this point
Copy the full SHA 699adc1View commit details -
Part 7 - implement Cross.Factory macro (TODO split shims out)
- fix scanning of Cross modules in Discover macro - improvement: check factory value matches crossValueN
Configuration menu - View commit details
-
Copy full SHA for 122a988 - Browse repository at this point
Copy the full SHA 122a988View commit details -
Part 8 - adjust Zinc reporter instead of linenumbers plugin
enhancement to zinc reporter and avoid mangling ansi escapes
Configuration menu - View commit details
-
Copy full SHA for 9d45ff0 - Browse repository at this point
Copy the full SHA 9d45ff0View commit details -
Part 9 - fix CodeGen integration tests for Scala 3
- update com-lihaoyi/sourcecode to use new macro implementation - fix callgraph 4-actors test: account for private[this] inferrence - fix - callgraph 8-linked-list-scala test: account for new override semantics - fix 5-parser codesig test to account for new expansion - use custom SAM type in lambda tests for scala (specialisation dropped in scala 3) - tweak CodeSig ignoreCall logic to account for Scala 3 lambdas - update some dependencies so invalidation tests actually run - fix indentation in codesig tests
Configuration menu - View commit details
-
Copy full SHA for 508f42c - Browse repository at this point
Copy the full SHA 508f42cView commit details -
- In Scala 3 an implicitly inserted else branch will not be implicitly converted to the type of the then branch, so use explicit else branch with NodeSeq.Empty
Configuration menu - View commit details
-
Copy full SHA for 448c915 - Browse repository at this point
Copy the full SHA 448c915View commit details -
Configuration menu - View commit details
-
Copy full SHA for d63b87d - Browse repository at this point
Copy the full SHA d63b87dView commit details -
Configuration menu - View commit details
-
Copy full SHA for be85915 - Browse repository at this point
Copy the full SHA be85915View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9fdb2e - Browse repository at this point
Copy the full SHA a9fdb2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d74e56b - Browse repository at this point
Copy the full SHA d74e56bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32c7fad - Browse repository at this point
Copy the full SHA 32c7fadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36fb83d - Browse repository at this point
Copy the full SHA 36fb83dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71c292b - Browse repository at this point
Copy the full SHA 71c292bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d583cdb - Browse repository at this point
Copy the full SHA d583cdbView commit details -
Part NN - Implement Scala 3 syntax support
- create and load scala compiler worker from MillMain - splitScript (mill scripts are a compilation unit where top stats are a template stat sequence) - cached initCtx - tested concurrent parsing - bin-pack comma separated import clauses into one - extract ImportTree from import code snippets - extract ObjectData from object code snippets - patch end marker of wrapper object - splice millDiscover into wrapper object after last statement - add passing scala-3-syntax test - account for code splice offset in ZincWorkerImpl reporter
Configuration menu - View commit details
-
Copy full SHA for b228669 - Browse repository at this point
Copy the full SHA b228669View commit details -
generate patch diff for bootstrap
new bootstrap patch remake patch regenerate patch correct bootstrap patch new rebootstrap patch regen bootstrap regenerate bootstrap patch again regenerate patch
Configuration menu - View commit details
-
Copy full SHA for 62a5815 - Browse repository at this point
Copy the full SHA 62a5815View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c1d08 - Browse repository at this point
Copy the full SHA c2c1d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5a54b7 - Browse repository at this point
Copy the full SHA c5a54b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e13550b - Browse repository at this point
Copy the full SHA e13550bView commit details