Skip to content

feat-fix(alias): make simple case work (#1106) #2893

feat-fix(alias): make simple case work (#1106)

feat-fix(alias): make simple case work (#1106) #2893

Triggered via push December 9, 2024 17:48
Status Failure
Total duration 2m 3s
Artifacts

qa.yaml

on: push
🔍 Debug
11s
🔍 Debug
⚗️ Test Suite (coverage)
1m 26s
⚗️ Test Suite (coverage)
👩‍🏫 Linting (local)
1m 14s
👩‍🏫 Linting (local)
Matrix: ⏱️ Performance Test
📦 Prerelease
0s
📦 Prerelease
⬆️ Upload Performance Test Results
0s
⬆️ Upload Performance Test Results
🚀 Build and Deploy Documentation (only on main)
0s
🚀 Build and Deploy Documentation (only on main)
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test/functionality/slicing/static-program-slices/alias-tracking.test.ts > Alias Tracking > Simple Builtin Multiple: test/functionality/slicing/static-program-slices/alias-tracking.test.ts#L34
AssertionError: expected [ true ] to deeply equal [ true, false ] - Expected + Received Array [ true, - false, ] ❯ test/functionality/slicing/static-program-slices/alias-tracking.test.ts:34:18
test/functionality/slicing/static-program-slices/control-flow.test.ts > Control flow > Alias Tracking > ["7@y"] useless branch with alias [control-flow, built-in, if]: test/functionality/_helper/shell.ts#L375
AssertionError: got: x <- TRUE y <- TRUE if(x) { y <- FALSE } y, vs. expected: x <- TRUE if(x) { y <- FALSE } y, for input x <- TRUE y <- TRUE if(x) { y <- FALSE } print(y) (slice for ["7@y"]: 15: "y"), url: https://mermaid.live/view#base64:eyJjb2RlIjoiZmxvd2NoYXJ0IFREXG4gICAgMXt7XCJgIzkxO1JMb2dpY2FsIzkzOyBUUlVFXG4gICAgICAoMSlcbiAgICAgICoyLjYtOSpgXCJ9fVxuICAgIHN0eWxlIDEgc3Ryb2tlOnRlYWwsc3Ryb2tlLXdpZHRoOjdweCxzdHJva2Utb3BhY2l0eTouODsgXG4gICAgMFtcImAjOTE7UlN5bWJvbCM5MzsgeFxuICAgICAgKDApXG4gICAgICAqMi4xKmBcIl1cbiAgICBzdHlsZSAwIHN0cm9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lcm1haWQiOnsiYXV0b1N5bmMiOnRydWV9fQ==: expected 'x <- TRUE\ny <- TRUE\nif(x) { y <- FA…' to equal 'x <- TRUE\nif(x) { y <- FALSE }\ny' - Expected + Received x <- TRUE + y <- TRUE if(x) { y <- FALSE } y ❯ test/functionality/_helper/shell.ts:375:11
test/functionality/slicing/static-program-slices/control-flow.test.ts > Control flow > Alias Tracking > ["7@y"] useless branch with alias || [control-flow, built-in, if]: test/functionality/_helper/shell.ts#L375
AssertionError: got: x <- FALSE y <- TRUE if(x) { y <- FALSE } y, vs. expected: y <- TRUE y, for input x <- FALSE y <- TRUE if(x) { y <- FALSE } print(y) (slice for ["7@y"]: 15: "y"), url: https://mermaid.live/view#base64:eyJjb2RlIjoiZmxvd2NoYXJ0IFREXG4gICAgMXt7XCJgIzkxO1JMb2dpY2FsIzkzOyBGQUxTRVxuICAgICAgKDEpXG4gICAgICAqMi42LTEwKmBcIn19XG4gICAgc3R5bGUgMSBzdHJva2U6dGVhbCxzdHJva2Utd2lkdGg6N3B4LHN0cm9rZS1vcGFjaXR5Oi44OyBcbiAgICAwW1wiYCM5MTtSU3ltYm9sIzkzOyB4XG4gICAgICAoMClcbiAgICAgICoyLjEqYFwiXVxuICAgIHN0eWxlIDAgc3Ryb2tlOnRlYWwsc3Ryb2tlLXdpZHRoOjdweCxzdHJva2Utb3BhY2l0eTouODsgXG4gICAgMltbXCJgIzkxO1JCaW5hcnlPcCM5MzsgIzYwOyM0NTtcbiAgICAgICgyKVxuICAgICAgKjIuMS0xMCpcbiAgICAoMCwgMSlgXCJdXVxuICAgIHN0eWxlIDIgc3Ryb2tlOnRlYWwsc3Ryb2tlLXdpZHRoOjdweCxzdHJva2Utb3BhY2l0eTouODsgXG4gICAgNHt7XCJgIzkxO1JMb2dpY2FsIzkzOyBUUlVFXG4gICAgICAoNClcbiAgICAgICozLjYtOSpgXCJ9fVxuICAgIHN0eWxlIDQgc3Ryb2tlOnRlYWwsc3Ryb2tlLXdpZHRoOjdweCx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AgOSAtLT58XCJkZWZpbmVkLWJ5XCJ8IDExXG4gICAgOSAtLT58XCJDRC1UcnVlXCJ8IDEzXG4gICAgbGlua1N0eWxlIDExIHN0cm9rZTpncmF5LGNvbG9yOmdyYXk7XG4gICAgMTEgLS0+fFwiYXJndW1lbnRcInwgMTBcbiAgICAxMSAtLT58XCJyZXR1cm5zLCBhcmd1bWVudFwifCA5XG4gICAgMTEgLS0+fFwiQ0QtVHJ1ZVwifCAxM1xuICAgIGxpbmtTdHlsZSAxNCBzdHJva2U6Z3JheSxjb2xvcjpncmF5O1xuICAgIDEyIC0tPnxcInJldHVybnMsIGFyZ3VtZW50XCJ8IDExXG4gICAgMTIgLS0+fFwiQ0QtVHJ1ZVwifCAxM1xuICAgIGxpbmtTdHlsZSAxNiBzdHJva2U6Z3JheSxjb2xvcjpncmF5O1xuICAgIDEzIC0tPnxcInJldHVybnMsIGFyZ3VtZW50XCJ8IDEyXG4gICAgMTMgLS0+fFwicmVhZHMsIGFyZ3VtZW50XCJ8IDZcbiAgICAxNSAtLT58XCJyZWFkc1wifCA5XG4gICAgMTUgLS0+fFwicmVhZHNcInwgM1xuICAgIDE3IC0tPnxcInJlYWRzLCByZXR1cm5zLCBhcmd1bWVudFwifCAxNSIsIm1lcm1haWQiOnsiYXV0b1N5bmMiOnRydWV9fQ==: expected 'x <- FALSE\ny <- TRUE\nif(x) { y <- F…' to equal 'y <- TRUE\ny' - Expected + Received - y <- TRUE + x <- FALSE + y <- TRUE + if(x) { y <- FALSE } y ❯ test/functionality/_helper/shell.ts:375:11
⚗️ Test Suite (coverage)
Process completed with exit code 1.