File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
scalameta/dialects/shared/src/main/scala/scala/meta
tests/shared/src/test/scala/scala/meta/tests/parsers/dotty Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -794,6 +794,7 @@ object Dialect extends InternalDialect {
794
794
Scala30 ,
795
795
Scala31 ,
796
796
Scala32 ,
797
+ Scala33 ,
797
798
Paradise211 ,
798
799
Paradise212 ,
799
800
ParadiseTypelevel211 ,
Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ package object dialects {
150
150
151
151
implicit val Scala32 = Scala31
152
152
153
- implicit val Scala3 = Scala32
153
+ implicit val Scala33 = Scala31 .withAllowFewerBraces(true )
154
+
155
+ implicit val Scala3 = Scala33
154
156
155
157
implicit val Scala3Future = Scala3
156
158
.withAllowUnderscoreAsTypePlaceholder(true )
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import scala.meta._
4
4
5
5
class FewerBracesSuite extends BaseDottySuite {
6
6
7
- protected override implicit val dialect = dialects.Scala3 .withAllowFewerBraces(true )
8
-
9
7
test(" simple" ) {
10
8
runTestAssert[Stat ](
11
9
""" |val firstLine = files.get(fileName).fold:
You can’t perform that action at this time.
0 commit comments