Recognize if-like Tree.MultiSegmentApp as IfThenElse IR #11365
1941 passed, 7 failed and 63 skipped
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.ApplicationSpec.xml
7 tests were completed in 32ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.ApplicationSpec | 7✅ | 32ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.CLIOutputSpec.xml
9 tests were completed in 15ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.CLIOutputSpec | 9✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.OptsSpec.xml
30 tests were completed in 140ms with 30 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.OptsSpec | 30✅ | 140ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.SpellingSpec.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.SpellingSpec | 3✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.cli.task.TaskProgressSpec.xml
2 tests were completed in 15ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.cli.task.TaskProgressSpec | 2✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.CacheInvalidationTest.xml
1 tests were completed in 15ms with 0 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.CacheInvalidationTest | 1⚪ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.ChangesetBuilderTest.xml
19 tests were completed in 941ms with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.ChangesetBuilderTest | 19✅ | 941ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.FreshNameSupplyTest.xml
1 tests were completed in 16ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.FreshNameSupplyTest | 1✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.context.SuggestionBuilderTest.xml
64 tests were completed in 141ms with 63 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.context.SuggestionBuilderTest | 63✅ | 1⚪ | 141ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.core.ir.DiagnosticStorageTest.xml
2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.core.ir.DiagnosticStorageTest | 2✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.core.ir.MetadataStorageTest.xml
10 tests were completed in 16ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.core.ir.MetadataStorageTest | 10✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.AliasAnalysisTest.xml
65 tests were completed in 15ms with 65 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.AliasAnalysisTest | 65✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.BindingAnalysisTest.xml
5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.BindingAnalysisTest | 5✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.DataflowAnalysisTest.xml
33 tests were completed in 15ms with 33 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.DataflowAnalysisTest | 33✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.DemandAnalysisTest.xml
7 tests were completed in 0ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.DemandAnalysisTest | 7✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.FramePointerAnalysisTest.xml
17 tests were completed in 41ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.FramePointerAnalysisTest | 17✅ | 41ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.GatherDiagnosticsTest.xml
4 tests were completed in 16ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.GatherDiagnosticsTest | 4✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.PrivateModifierTest.xml
3 tests were completed in 16ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.PrivateModifierTest | 3✅ | 16ms |
❌ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.TailCallTest.xml
20 tests were completed in 149ms with 19 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.analyse.TailCallTest | 19✅ | 1❌ | 149ms |
❌ org.enso.compiler.test.pass.analyse.TailCallTest
✅ Tail call analysis on modules should mark methods as tail
✅ Tail call analysis on modules should mark atoms as tail
✅ Tail call analysis on modules should mark conversions as tail
✅ Tail call analysis on expressions should mark the expression as tail if the context requires it
✅ Tail call analysis on expressions should not mark the expression as tail if the context doesn't require it
✅ Tail call analysis on expressions should mark the value of a tail assignment as non-tail
✅ Tail call analysis on functions should mark the last expression of the function as tail
✅ Tail call analysis on functions should mark the other expressions in the function as not tail
✅ Tail call analysis on functions should warn about misplaced @TailCall annotations
❌ Tail call analysis on local functions should handle application involving local functions
java.lang.ClassCastException: class org.enso.compiler.core.ir.Expression$Block cannot be cast to class org.enso.compiler.core.ir.expression.Application$Prefix (org.enso.compiler.core.ir.Expression$Block and org.enso.compiler.core.ir.expression.Application$Prefix are in module org.enso.runtime.parser of loader 'app')
✅ Tail call analysis on case expressions should not mark any portion of the branch functions as tail by default
✅ Tail call analysis on case expressions should only mark the branches as tail if the expression is in tail position
✅ Tail call analysis on case expressions should mark patters and pattern elements as not tail
✅ Tail call analysis on function calls should work on function that has tail call return value
✅ Tail call analysis on function calls should work on function that has not-tail call return value
✅ Tail call analysis on function calls should mark the function call as not tail if it is in a tail position
✅ Tail call analysis on blocks should mark the bodies of bound functions as tail properly
✅ Tail call analysis on blocks should mark the block expressions as not tail
✅ Tail call analysis on blocks should mark the final expression of the block as tail
✅ Tail call analysis on blocks should mark the block as tail if it is in a tail position
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.ComplexTypeTest.xml
8 tests were completed in 0ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.ComplexTypeTest | 8✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.FunctionBindingTest.xml
13 tests were completed in 0ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.FunctionBindingTest | 13✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.GenerateMethodBodiesTest.xml
21 tests were completed in 0ms with 21 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.GenerateMethodBodiesTest | 21✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.ImportsTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.ImportsTest | 3✅ | 0ms |
❌ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.xml
19 tests were completed in 58ms with 18 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest | 18✅ | 1❌ | 58ms |
❌ org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest
✅ Desugaring of underscore arguments should Work for simple applications with underscore args
✅ Desugaring of underscore arguments should Work for named applications of underscore args
✅ Desugaring of underscore arguments should Work if the function in an application is an underscore arg
❌ Desugaring of underscore arguments should Work with mixfix functions
org.scalatest.exceptions.TestFailedException:
IfThenElse(
cond =
Function.Lambda(
arguments = List(
DefinitionArgument.Specified(
name =
Name.Literal(
name = <internal-0>,
isMethod = false,
location = None,
passData = MetadataStorage[],
diagnostics = null,
id = null
)
,
ascribedType = None,
defaultValue = None,
suspended = false,
location = None,
passData = MetadataStorage[],
diagnostics = null,
id = null
)
),
body =
Name.Literal(
name = <internal-0>,
isMethod = false,
location = None,
passData = MetadataStorage[],
diagnostics = null,
id = null
)
,
location = Some(IdentifiedLocation[start=5, end=6, uuid=None]),
canBeTCO = true,
passData = MetadataStorage[],
diagnostics = null,
id = null
)
,
trueBranch =
Name.Literal(
name = a,
isMethod = false,
location = Some(IdentifiedLocation[start=12, end=13, uuid=None]),
passData = MetadataStorage[],
diagnostics = null,
id = null
)
,
falseBranch = None,
location = Some(IdentifiedLocation[start=2, end=13, uuid=None]),
passData = MetadataStorage[],
diagnostics = null,
id = null
)
was not an instance of org.enso.compiler.core.ir.Function$Lambda, but an instance of org.enso.compiler.core.ir.expression.IfThenElse
✅ Desugaring of underscore arguments should Work for an underscore scrutinee in a case expression
✅ Desugaring of underscore arguments should work correctly for operators
✅ Desugaring of underscore arguments should work correctly for left operator sections
✅ Desugaring of underscore arguments should work correctly for centre operator sections
✅ Desugaring of underscore arguments should work correctly for right operator sections
✅ Desugaring of underscore arguments should work for vector literals
✅ Nested underscore arguments should work for applications
✅ Nested underscore arguments should work in named applications
✅ Nested underscore arguments should work in function argument defaults
✅ Nested underscore arguments should work for case expressions
✅ A single lambda shorthand should translate to `id` in general
✅ A single lambda shorthand should translate to an `id` in argument defaults
✅ Lambda shorthand in nested functions should correctly translate the section-function in an application
✅ Lambda shorthand in nested functions should correctly translate the function in an application
✅ Mini lambda shorthand pass should Produce same results as mega pass
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.NestedPatternMatchTest.xml
9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.NestedPatternMatchTest | 9✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.OperatorToFunctionTest.xml
5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.OperatorToFunctionTest | 5✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.SectionsToBinOpTest.xml
5 tests were completed in 31ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.desugar.SectionsToBinOpTest | 5✅ | 31ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.NoSelfInStaticTests.xml
5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.NoSelfInStaticTests | 5✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.ShadowedPatternFieldsTest.xml
2 tests were completed in 15ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.ShadowedPatternFieldsTest | 2✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.lint.UnusedBindingsTest.xml
8 tests were completed in 15ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.lint.UnusedBindingsTest | 8✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.optimise.LambdaConsolidateTest.xml
9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.optimise.LambdaConsolidateTest | 9✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.optimise.UnreachableMatchBranchesTest.xml
3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.optimise.UnreachableMatchBranchesTest | 3✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.PassConfigurationTest.xml
9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.PassConfigurationTest | 9✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.PassManagerTest.xml
2 tests were completed in 16ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.PassManagerTest | 2✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.DocumentationCommentsTest.xml
13 tests were completed in 16ms with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.DocumentationCommentsTest | 13✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.ExpressionAnnotationsTest.xml
4 tests were completed in 15ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.ExpressionAnnotationsTest | 4✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.GlobalNamesTest.xml
11 tests were completed in 16ms with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.GlobalNamesTest | 11✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.IgnoredBindingsTest.xml
12 tests were completed in 0ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.IgnoredBindingsTest | 12✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.MethodDefinitionsTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.MethodDefinitionsTest | 1✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.ModuleAnnotationsTest.xml
8 tests were completed in 16ms with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.ModuleAnnotationsTest | 8✅ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.OverloadsResolutionTest.xml
6 tests were completed in 15ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.OverloadsResolutionTest | 6✅ | 15ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.PatternsTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.PatternsTest | 1✅ | 0ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.SugaredTypeFunctionsTest.xml
14 tests were completed in 16ms with 12 passed, 0 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.SugaredTypeFunctionsTest | 12✅ | 2⚪ | 16ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.SuspendedArgumentsTest.xml
9 tests were completed in 32ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.SuspendedArgumentsTest | 9✅ | 32ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.TypeNamesTest.xml
4 tests were completed in 32ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.TypeNamesTest | 4✅ | 32ms |
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.resolve.TypeSignaturesTest.xml
12 tests were completed in 15ms with 12 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.pass.resolve.TypeSignaturesTest | 12✅ | 15ms |
❌ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.PassesTest.xml
3 tests were completed in 32ms with 2 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.PassesTest | 2✅ | 1❌ | 32ms |
❌ org.enso.compiler.test.PassesTest
❌ Compiler pass ordering slicing should get the precursors of a given pass
org.scalatest.exceptions.TestFailedException: Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, org.enso.compiler.pass.desugar.IfThenElseToCase@6fb53e07, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations)) did not equal Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations))
✅ Compiler pass ordering slicing should return `None` if the pass doesn't exists
✅ Compiler pass ordering slicing should not include linting passes when disabled
✅ C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.refactoring.IRUtilsTest.xml
7 tests were completed in 16ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.enso.compiler.test.refactoring.IRUtilsTest | 7✅ | 16ms | ||
Report exceeded GitHub limit of 65535 bytes and has been trimmed |
Annotations
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.compiler.test.pass.analyse.TailCallTest ► Tail call analysis on local functions should handle application involving local functions
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.analyse.TailCallTest.xml
Error:
java.lang.ClassCastException: class org.enso.compiler.core.ir.Expression$Block cannot be cast to class org.enso.compiler.core.ir.expression.Application$Prefix (org.enso.compiler.core.ir.Expression$Block and org.enso.compiler.core.ir.expression.Application$Prefix are in module org.enso.runtime.parser of loader 'app')
Raw output
java.lang.ClassCastException: class org.enso.compiler.core.ir.Expression$Block cannot be cast to class org.enso.compiler.core.ir.expression.Application$Prefix (org.enso.compiler.core.ir.Expression$Block and org.enso.compiler.core.ir.expression.Application$Prefix are in module org.enso.runtime.parser of loader 'app')
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.$anonfun$new$37(TailCallTest.scala:238)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.$anonfun$new$37$adapted(TailCallTest.scala:232)
at org.enso.runtime/org.enso.compiler.test.MiniPassTest.$anonfun$assertModuleCompilation$3(MiniPassTest.scala:45)
at [email protected]/scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.Assertions.withClue(Assertions.scala:1065)
at org.scalatest.Assertions.withClue$(Assertions.scala:1052)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.withClue(TailCallTest.scala:23)
at org.enso.runtime/org.enso.compiler.test.MiniPassTest.assertModuleCompilation(MiniPassTest.scala:45)
at org.enso.runtime/org.enso.compiler.test.MiniPassTest.assertModuleCompilation$(MiniPassTest.scala:27)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.assertModuleCompilation(TailCallTest.scala:23)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.$anonfun$new$35(TailCallTest.scala:229)
at [email protected]/scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.withFixture(TailCallTest.scala:23)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.runTest(TailCallTest.scala:23)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.runTests(TailCallTest.scala:23)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.org$scalatest$wordspec$AnyWordSpecLike$$super$run(TailCallTest.scala:23)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.enso.runtime/org.enso.compiler.test.pass.analyse.TailCallTest.run(TailCallTest.scala:23)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest ► Desugaring of underscore arguments should Work with mixfix functions
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.xml
Error:
org.scalatest.exceptions.TestFailedException: IfThenElse( cond = Function.Lambda( arguments = List(DefinitionArgument.Specified( name = Name.Literal( name = <internal-0>, isMethod = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null), ascribedType = None, defaultValue = None, suspended = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null)), body = Name.Literal( name = <internal-0>, isMethod = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null), location = Some(IdentifiedLocation[start=5, end=6, uuid=None]), canBeTCO = true, passData = MetadataStorage[], diagnostics = null, id = null), trueBranch = Name.Literal( name = a, isMethod = false, location = Some(IdentifiedLocation[start=12, end=13, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null), falseBranch = None, location = Some(IdentifiedLocation[start=2, end=13, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null) was not an instance of org.enso.compiler.core.ir.Function$Lambda, but an instance of org.enso.compiler.core.ir.expression.IfThenElse
Raw output
org.scalatest.exceptions.TestFailedException: IfThenElse( cond = Function.Lambda( arguments = List(DefinitionArgument.Specified( name = Name.Literal( name = <internal-0>, isMethod = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null), ascribedType = None, defaultValue = None, suspended = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null)), body = Name.Literal( name = <internal-0>, isMethod = false, location = None, passData = MetadataStorage[], diagnostics = null, id = null), location = Some(IdentifiedLocation[start=5, end=6, uuid=None]), canBeTCO = true, passData = MetadataStorage[], diagnostics = null, id = null), trueBranch = Name.Literal( name = a, isMethod = false, location = Some(IdentifiedLocation[start=12, end=13, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null), falseBranch = None, location = Some(IdentifiedLocation[start=2, end=13, uuid=None]), passData = MetadataStorage[], diagnostics = null, id = null) was not an instance of org.enso.compiler.core.ir.Function$Lambda, but an instance of org.enso.compiler.core.ir.expression.IfThenElse
at org.scalatest.matchers.MatchersHelper$.newTestFailedException(MatchersHelper.scala:143)
at org.scalatest.matchers.TypeMatcherHelper$.assertAnType(TypeMatcherHelper.scala:177)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.$anonfun$new$5(LambdaShorthandToLambdaTest.scala:196)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.withFixture(LambdaShorthandToLambdaTest.scala:24)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.runTest(LambdaShorthandToLambdaTest.scala:24)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.runTests(LambdaShorthandToLambdaTest.scala:24)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.org$scalatest$wordspec$AnyWordSpecLike$$super$run(LambdaShorthandToLambdaTest.scala:24)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.enso.runtime/org.enso.compiler.test.pass.desugar.LambdaShorthandToLambdaTest.run(LambdaShorthandToLambdaTest.scala:24)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.compiler.test.PassesTest ► Compiler pass ordering slicing should get the precursors of a given pass
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.compiler.test.PassesTest.xml
Error:
org.scalatest.exceptions.TestFailedException: Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, org.enso.compiler.pass.desugar.IfThenElseToCase@6fb53e07, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations)) did not equal Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations))
Raw output
org.scalatest.exceptions.TestFailedException: Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, org.enso.compiler.pass.desugar.IfThenElseToCase@6fb53e07, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations)) did not equal Some(List(ModuleAnnotations, DocumentationComments, Imports, ComplexType, FunctionBinding, GenerateMethodBodies, BindingAnalysis, ModuleNameConflicts, MethodDefinitions, org.enso.compiler.pass.desugar.SectionsToBinOp@7e5ecd83, OperatorToFunction, LambdaShorthandToLambda, ImportSymbolAnalysis, AmbiguousImportsAnalysis, org.enso.compiler.pass.analyse.PrivateModuleAnalysis@3872ca21, org.enso.compiler.pass.analyse.PrivateConstructorAnalysis@30d0d622, ShadowedPatternFields, UnreachableMatchBranches, NestedPatternMatch, IgnoredBindings, TypeFunctions, TypeSignatures, ExpressionAnnotations))
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.compiler.test.PassesTest.$anonfun$new$2(PassesTest.scala:53)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.enso.runtime/org.enso.compiler.test.PassesTest.withFixture(PassesTest.scala:25)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.enso.runtime/org.enso.compiler.test.PassesTest.runTest(PassesTest.scala:25)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.enso.runtime/org.enso.compiler.test.PassesTest.runTests(PassesTest.scala:25)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.enso.runtime/org.enso.compiler.test.PassesTest.org$scalatest$wordspec$AnyWordSpecLike$$super$run(PassesTest.scala:25)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.enso.runtime/org.enso.compiler.test.PassesTest.run(PassesTest.scala:25)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.semantic.MixfixFunctionsTest ► Mixfix Functions when Context is Cached should be able to be defined as a method
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.MixfixFunctionsTest.xml
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.MixfixFunctionsTest.xml
Error:
org.scalatest.exceptions.TestFailedException: Nothing did not equal 10
Raw output
org.scalatest.exceptions.TestFailedException: Nothing did not equal 10
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.semantic.MixfixFunctionsTest.$anonfun$specify$1(MixfixFunctionsTest.scala:24)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1880)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.scalatest.wordspec.AnyWordSpec.run(AnyWordSpec.scala:1880)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
github-actions / Engine Tests Report (GraalVM CE, windows, amd64)
org.enso.interpreter.test.semantic.MixfixFunctionsTest ► Mixfix Functions when Context is Cached should easily support multiple arguments
Failed test found in:
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.MixfixFunctionsTest.xml
C:/runner/_work/enso/enso/target/test-results/TEST-org.enso.interpreter.test.semantic.MixfixFunctionsTest.xml
Error:
org.scalatest.exceptions.TestFailedException: 4 did not equal 10
Raw output
org.scalatest.exceptions.TestFailedException: 4 did not equal 10
at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:397)
at org.scalatest.matchers.should.Matchers$AnyShouldWrapper.shouldEqual(Matchers.scala:7394)
at org.enso.runtime/org.enso.interpreter.test.semantic.MixfixFunctionsTest.$anonfun$specify$2(MixfixFunctionsTest.scala:39)
at org.scalatest.OutcomeOf.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf.outcomeOf$(OutcomeOf.scala:83)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.wordspec.AnyWordSpecLike$$anon$3.apply(AnyWordSpecLike.scala:1240)
at org.scalatest.TestSuite.withFixture(TestSuite.scala:196)
at org.scalatest.TestSuite.withFixture$(TestSuite.scala:195)
at org.scalatest.wordspec.AnyWordSpec.withFixture(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.invokeWithFixture$1(AnyWordSpecLike.scala:1238)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTest$1(AnyWordSpecLike.scala:1250)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.wordspec.AnyWordSpecLike.runTest(AnyWordSpecLike.scala:1250)
at org.scalatest.wordspec.AnyWordSpecLike.runTest$(AnyWordSpecLike.scala:1232)
at org.scalatest.wordspec.AnyWordSpec.runTest(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$runTests$1(AnyWordSpecLike.scala:1309)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:413)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:390)
at org.scalatest.SuperEngine.$anonfun$runTestsInBranch$1(Engine.scala:427)
at [email protected]/scala.collection.immutable.List.foreach(List.scala:333)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at org.scalatest.SuperEngine.runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:475)
at org.scalatest.wordspec.AnyWordSpecLike.runTests(AnyWordSpecLike.scala:1309)
at org.scalatest.wordspec.AnyWordSpecLike.runTests$(AnyWordSpecLike.scala:1308)
at org.scalatest.wordspec.AnyWordSpec.runTests(AnyWordSpec.scala:1880)
at org.scalatest.Suite.run(Suite.scala:1114)
at org.scalatest.Suite.run$(Suite.scala:1096)
at org.scalatest.wordspec.AnyWordSpec.org$scalatest$wordspec$AnyWordSpecLike$$super$run(AnyWordSpec.scala:1880)
at org.scalatest.wordspec.AnyWordSpecLike.$anonfun$run$1(AnyWordSpecLike.scala:1354)
at org.scalatest.SuperEngine.runImpl(Engine.scala:535)
at org.scalatest.wordspec.AnyWordSpecLike.run(AnyWordSpecLike.scala:1354)
at org.scalatest.wordspec.AnyWordSpecLike.run$(AnyWordSpecLike.scala:1352)
at org.scalatest.wordspec.AnyWordSpec.run(AnyWordSpec.scala:1880)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:321)
at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:517)
at sbt.ForkMain$Run.lambda$runTest$1(ForkMain.java:414)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)