Migrate kotlin sources, maven projects and stdlib to new lambda syntax
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ import org.jetbrains.kotlin.renderer.KeywordStringsGenerated
|
||||
import com.google.dart.compiler.backend.js.ast.JsFunctionScope
|
||||
import org.jetbrains.kotlin.generators.di.GeneratorsFileUtil.writeFileIfContentChanged
|
||||
|
||||
val commonCases: CaseBuilder.(String, String) -> Unit = { (testByName, testByRef) ->
|
||||
val commonCases: CaseBuilder.(String, String) -> Unit = { testByName, testByRef ->
|
||||
case("val", "val $KEYWORD_MARKER: Int", " = 0", testByName)
|
||||
case("var", "var $KEYWORD_MARKER: Int", " = 0", testByName)
|
||||
case("fun", "fun $KEYWORD_MARKER()", " { $KEYWORD_MARKER() }", testByRef)
|
||||
|
||||
Reference in New Issue
Block a user