amanda.hinchman-dominguez
11/27/2019, 3:18 PMraulraja
11/27/2019, 3:46 PMraulraja
11/27/2019, 3:46 PMamanda.hinchman-dominguez
11/27/2019, 3:46 PMBinaryExpression
to CallExpression
?raulraja
11/27/2019, 3:47 PMEND quote.doAnalysis: [KtFile: Source.kt]
START quote.doAnalysis: [KtFile: Source.kt]
e: kotlin.NotImplementedError: An operation is not implemented: Unsupported VALUE_ARGUMENT
at arrow.meta.internal.kastree.ast.psi.ConverterKt.getAst(Converter.kt:838)
at arrow.meta.quotes.QuoteKt$replace$1.invoke(Quote.kt:298)
at arrow.meta.quotes.QuoteKt$replace$1.invoke(Quote.kt)
at arrow.meta.internal.kastree.ast.MutableVisitor$Companion$preVisit$1.preVisit(MutableVisitor.kt:344)
at arrow.meta.internal.kastree.ast.MutableVisitor$visit$$inlined$run$lambda$1.invoke(MutableVisitor.kt:10)
at arrow.meta.internal.kastree.ast.MutableVisitor$visit$$inlined$run$lambda$1.invoke(MutableVisitor.kt
raulraja
11/27/2019, 3:47 PMamanda.hinchman-dominguez
11/27/2019, 3:47 PMamanda.hinchman-dominguez
11/27/2019, 3:47 PMamanda.hinchman-dominguez
11/27/2019, 3:48 PMraulraja
11/27/2019, 3:48 PMamanda.hinchman-dominguez
11/27/2019, 3:48 PMraulraja
11/27/2019, 3:48 PMamanda.hinchman-dominguez
11/27/2019, 3:49 PMWhenConditionTest
and WhenEntryTest
is failing for the same exact reason - but I cannot evaluate the codegen comparison (I indicated the lines on the test on the branch arrow-meta-quotes-table
raulraja
11/27/2019, 3:49 PMamanda.hinchman-dominguez
11/27/2019, 3:49 PMCatchClauseTest
and ForExpressionTest
appear to be failing for the same reason with casting issues in Default element scopeamanda.hinchman-dominguez
11/27/2019, 3:50 PMamanda.hinchman-dominguez
11/27/2019, 3:52 PMWhenConditionTest
it goes to PsiFactory::createWhenCondition
-> PsiFactory::createWhenEntry
amanda.hinchman-dominguez
11/27/2019, 3:52 PMWhenEntryTest
it goes to PsiFactory::createWhenEntry
raulraja
11/27/2019, 3:55 PMamanda.hinchman-dominguez
11/27/2019, 3:55 PMamanda.hinchman-dominguez
11/27/2019, 3:56 PMraulraja
11/27/2019, 3:59 PMraulraja
11/27/2019, 3:59 PMamanda.hinchman-dominguez
11/27/2019, 4:00 PMraulraja
11/27/2019, 4:00 PMraulraja
11/27/2019, 4:00 PMraulraja
11/27/2019, 4:00 PM"fun foo() { when(12) { $entryText } }"
amanda.hinchman-dominguez
11/27/2019, 4:00 PMamanda.hinchman-dominguez
11/27/2019, 4:03 PMx + 2 == 4 -> {}
amanda.hinchman-dominguez
11/27/2019, 4:04 PMWhenConditionTest
raulraja
11/27/2019, 4:06 PMraulraja
11/27/2019, 4:06 PMamanda.hinchman-dominguez
11/27/2019, 4:06 PMamanda.hinchman-dominguez
11/27/2019, 4:07 PMraulraja
11/27/2019, 4:07 PM