We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 539dd06 commit 01abc11Copy full SHA for 01abc11
library/src/dotty/DottyPredef.scala
@@ -47,7 +47,7 @@ object DottyPredef {
47
* }}}
48
* @group utilities
49
*/
50
- inline def locally[T](inline body: T): T = body
+ inline def locally[T](/*inline*/ body: T): T = body // FIXME add `inline` param when #9655 is fixed
51
52
/**
53
* Retrieve the single value of a type with a unique inhabitant.
tests/pos/i9572.scala
@@ -0,0 +1,6 @@
1
+trait JsonSchemas {
2
+ locally {
3
+ sealed trait Status
4
+ case object Active extends Status
5
+ }
6
+}
0 commit comments