|
|
|
|
@ -1226,6 +1226,8 @@ object A:
|
|
|
|
|
|
|
|
|
|
given Context[T] = ctx
|
|
|
|
|
|
|
|
|
|
given Foo[Int] =
|
|
|
|
|
case n => "123"
|
|
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
@ -1332,7 +1334,16 @@ object A:
|
|
|
|
|
(type_identifier)
|
|
|
|
|
(type_arguments
|
|
|
|
|
(type_identifier)))
|
|
|
|
|
(identifier)))))
|
|
|
|
|
(identifier))
|
|
|
|
|
(given_definition
|
|
|
|
|
(generic_type
|
|
|
|
|
(type_identifier)
|
|
|
|
|
(type_arguments
|
|
|
|
|
(type_identifier)))
|
|
|
|
|
(indented_cases
|
|
|
|
|
(case_clause
|
|
|
|
|
(identifier)
|
|
|
|
|
(string)))))))
|
|
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
|
Top-level Definitions (Scala 3 syntax)
|
|
|
|
|
@ -1599,8 +1610,9 @@ inline given Test =
|
|
|
|
|
(modifiers
|
|
|
|
|
(inline_modifier))
|
|
|
|
|
(type_identifier)
|
|
|
|
|
(instance_expression
|
|
|
|
|
(type_identifier))))
|
|
|
|
|
(indented_block
|
|
|
|
|
(instance_expression
|
|
|
|
|
(type_identifier)))))
|
|
|
|
|
|
|
|
|
|
================================================================================
|
|
|
|
|
Infix methods (Scala 3)
|
|
|
|
|
|