Scalameta v4.5.1
github-actions
released this
21 Mar 14:33
·
1649 commits
to refs/heads/main
since this release
SemanticDB
- Support MatchType in metacp (#2690) @tanishiking
- Support MatchType in
metap
(#2685) @tanishiking - Support MatchType for Scala3 (#2681) @tanishiking
Infix parsing improvements and fixes
- ScalametaParser: use tuple for interim infix rhs (#2684) @kitbellew
- ScalametaParser: recognize Pat.Tuple as infix rhs (#2680) @kitbellew
- ScalametaParser: deduplicate logic for makeTuple (#2679) @kitbellew
- ScalametaParser: check for triple dots earlier (#2678) @kitbellew
- Dialect: add useInfixTypePrecedence flag in scala3 (#2676) @kitbellew
- Trees: remove multiple-field constraint for Tuple (#2677) @kitbellew
- ScalametaParser: fix pattern infix type logic (#2675) @kitbellew
- ScalametaParser: rename infixTypeXxx methods (#2673) @kitbellew
- ScalametaParser: make UnfinishedInfix custom (#2674) @kitbellew
- Trees: merge implicit extensions for Name trees (#2672) @kitbellew
- Trees: turn Type.{And, Or} into infix-like trees (#2671) @kitbellew
LegacyScanner improvements
- LegacyScanner: split
$
from rest in fetchToken (#2670) @kitbellew - LegacyScanner: refactor getDollar (#2667) @kitbellew
- ScalametaParser: refactor isIdentifierPart methods (#2668) @kitbellew
- LegacyScanner: refactor sepRegions handling (#2666) @kitbellew
- LegacyScanner: refactor getIdentRest (#2663) @kitbellew
- LegacyScanner: don't use BACKQUOTED_IDENT (#2662) @kitbellew
- LegacyTokenData: add method to set identifier (#2665) @kitbellew
- LegacyScanner: refactor getLitChars (#2664) @kitbellew
- ScalametaParser: don't need to strip backquotes (#2661) @kitbellew
ScalametaParser matching improvements
- ScannerTokens: use case matching when possible (#2637) @kitbellew
- ScalametaParser: clean up
path
, use tryAhead (#2655) @kitbellew - ScalametaParser: no termName if need typeName (#2651) @kitbellew
- ScalametaParser: don't backtrack for some
ahead
(#2649) @kitbellew - ScalametaParser: pass around Token classifier (#2650) @kitbellew
- ScalametaParser: use acceptOpt when possible (#2648) @kitbellew
- ScalametaParser: skip open delim check in inBraces (#2647) @kitbellew
- ScalametaParser: refactor patterns (#2646) @kitbellew
- ScalametaParser: handle remaining ListBuffer cases (#2645) @kitbellew
- ScalametaParser: handle modifier lists (#2644) @kitbellew
- ScalametaParser: add convenience method listBy (#2643) @kitbellew
- ScalametaParser: simplify rejecting Mod combinatns (#2642) @kitbellew
- ScalametaParser: refactor unquote handling (#2641) @kitbellew
- XtensionTreesMods: use Iterable, find first only (#2638) @kitbellew
- ScalametaParser: refactor private/protected (#2640) @kitbellew
- ScalametaParser: handle underscores/star wildcards (#2639) @kitbellew
- ScalametaParser: tailrec recursion for batchSource (#2636) @kitbellew
- ScalametaParser: split
ellipsis
into two methods (#2635) @kitbellew - Token macros: create common abstract base class (#2628) @kitbellew
- ScalametaParser: use case matching when possible (#2633) @kitbellew
- ScalametaParser: simplify a few while loops (#2632) @kitbellew
- LazyTokenIterator: use case matching when possible (#2631) @kitbellew
- SoftKeywords: allow matching on token string (#2625) @kitbellew
- ScalametaParser: remove broken branch in statSeq (#2630) @kitbellew
- ScalametaParser: tokenSeparated no extra checks (#2629) @kitbellew
- SurfaceSuite: prepare for
@branch
token traits (#2627) @kitbellew - AssociatedComments: prepare for token traits (#2626) @kitbellew
- ScalametaParser: don't use explicit AstInfo (#2624) @kitbellew
Other changes
- ParseSuite: assert structure for any parsing rule (#2683) @kitbellew
- ParseSuite: allow parsing using arbitrary rule (#2682) @kitbellew
- Dialect: centralize creating unquote dialect (#2669) @kitbellew
- Implement Intellij code inspection changes (#2657) @kitbellew
- MacroHelpers: avoid expensive right-to-left search (#2658) @kitbellew
- Fix non-exhaustive match warnings (#2659) @kitbellew
- Legacy tokenizers: do not exclude from scalafmt (#2656) @kitbellew
- Tests: don't use println, pass clue to asserts (#2653) @kitbellew
- TreeSyntax: simplify match, use reprint (#2654) @kitbellew
- Tests: don't use Dotty, use Scala3 instead (#2652) @kitbellew
- Token: add Keyword/Literal/Trivia etc branches (#2634) @kitbellew
Dependency updates
- Update sbt-assembly to 1.2.0 (#2686) @scala-steward
- Update sbt-mdoc to 2.3.1 (#2689) @scala-steward
- Update scalafmt-core to 3.4.3 (#2623) @scala-steward
- Update sbt-mdoc to 2.3.0 (#2622) @scala-steward
- Update sbt, scripted-plugin to 1.6.2 (#2621) @scala-steward
- Update auxlib, javalib, nativelib, nscplugin, ... to 0.4.3 (#2620) @scala-steward
- Update sbt-buildinfo to 0.11.0 (#2617) @scala-steward
- Update sbt-assembly to 1.1.1 (#2616) @scala-steward