Code Monkey home page Code Monkey logo

Comments (4)

juancarlospaco avatar juancarlospaco commented on September 2, 2024 1

!nim js

case 0
else: discard

from nim.

github-actions avatar github-actions commented on September 2, 2024
🐧 Linux bisect by @juancarlospaco (collaborator)
devel 👎 FAIL

Output


IR

Compiled filesize 401 bytes (401 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
else{
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:32
  • Finished 2024-08-29T20:36:33
  • Duration

AST

nnkStmtList.newTree(
  nnkCaseStmt.newTree(
    newLit(0),
    nnkElse.newTree(
      nnkStmtList.newTree(
        nnkDiscardStmt.newTree(
          newEmptyNode()
        )
      )
    )
  )
)
stable 👎 FAIL

Output


IR

Compiled filesize 400 bytes (400 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
else{
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:36
  • Finished 2024-08-29T20:36:37
  • Duration

AST

nnkStmtList.newTree(
  nnkCaseStmt.newTree(
    newLit(0),
    nnkElse.newTree(
      nnkStmtList.newTree(
        nnkDiscardStmt.newTree(
          newEmptyNode()
        )
      )
    )
  )
)
2.0.8 👎 FAIL

Output


IR

Compiled filesize 400 bytes (400 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
else{
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:37
  • Finished 2024-08-29T20:36:37
  • Duration

AST

nnkStmtList.newTree(
  nnkCaseStmt.newTree(
    newLit(0),
    nnkElse.newTree(
      nnkStmtList.newTree(
        nnkDiscardStmt.newTree(
          newEmptyNode()
        )
      )
    )
  )
)
2.0.0 👎 FAIL

Output


IR

Compiled filesize 400 bytes (400 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
else{
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:40
  • Finished 2024-08-29T20:36:41
  • Duration

AST

nnkStmtList.newTree(
  nnkCaseStmt.newTree(
    newLit(0),
    nnkElse.newTree(
      nnkStmtList.newTree(
        nnkDiscardStmt.newTree(
          newEmptyNode()
        )
      )
    )
  )
)
1.6.20 👍 OK

Output


IR

Compiled filesize 566 bytes (566 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
switch (0) {
default: 
break;
}
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;
var F = {procname: "module temp", prev: framePtr, filename: "/home/runner/work/Nim/Nim/temp.nim", line: 0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:43
  • Finished 2024-08-29T20:36:44
  • Duration
1.4.8 👍 OK

Output


IR

Compiled filesize 538 bytes (538 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
var F={procname:"module temp",prev:framePtr,filename:"/home/runner/work/Nim/Nim/temp.nim",line:0};
framePtr = F;
switch (0) {
default: 
break;
}
framePtr = F.prev;
var F={procname:"module temp",prev:framePtr,filename:"/home/runner/work/Nim/Nim/temp.nim",line:0};
framePtr = F;
framePtr = F.prev;
var F={procname:"module temp",prev:framePtr,filename:"/home/runner/work/Nim/Nim/temp.nim",line:0};
framePtr = F;
framePtr = F.prev;

Stats

  • Started 2024-08-29T20:36:46
  • Finished 2024-08-29T20:36:46
  • Duration
1.2.18 👍 OK

Output


IR

Compiled filesize 807 bytes (807 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
if (typeof Int8Array === 'undefined') Int8Array = Array;
if (typeof Int16Array === 'undefined') Int16Array = Array;
if (typeof Int32Array === 'undefined') Int32Array = Array;
if (typeof Uint8Array === 'undefined') Uint8Array = Array;
if (typeof Uint16Array === 'undefined') Uint16Array = Array;
if (typeof Uint32Array === 'undefined') Uint32Array = Array;
if (typeof Float32Array === 'undefined') Float32Array = Array;
if (typeof Float64Array === 'undefined') Float64Array = Array;
process.exitCode = 0;
var global_raise_hook_142018 = [null];
var local_raise_hook_142023 = [null];
var out_of_mem_hook_142026 = [null];
var unhandled_exception_hook_142031 = [null];
switch (0) {
default: 
break;
}

Stats

  • Started 2024-08-29T20:36:48
  • Finished 2024-08-29T20:36:48
  • Duration
1.0.10 👍 OK

Output


IR

Compiled filesize 789 bytes (789 bytes)
var framePtr = null;
var excHandler = 0;
var lastJSError = null;
if (typeof Int8Array === 'undefined') Int8Array = Array;
if (typeof Int16Array === 'undefined') Int16Array = Array;
if (typeof Int32Array === 'undefined') Int32Array = Array;
if (typeof Uint8Array === 'undefined') Uint8Array = Array;
if (typeof Uint16Array === 'undefined') Uint16Array = Array;
if (typeof Uint32Array === 'undefined') Uint32Array = Array;
if (typeof Float32Array === 'undefined') Float32Array = Array;
if (typeof Float64Array === 'undefined') Float64Array = Array;
process.exitCode = 0;
var global_raise_hook_18618 = [null];
var local_raise_hook_18623 = [null];
var out_of_mem_hook_18626 = [null];
switch (0) {
default: 
 break;
}

Stats

  • Started 2024-08-29T20:36:50
  • Finished 2024-08-29T20:36:50
  • Duration
??? ➡️ 🐛

Diagnostics

The commit that introduced the bug can not be found, but the bug is in the commits:

(Can not find the commit because Nim can not be re-built commit-by-commit to bisect).

Stats
  • GCC 11.4.0
  • Clang 14.0.0
  • NodeJS 20.4
  • Created 2024-08-29T20:36:06Z
  • Comments 1
  • Commands nim js -d:nodejs -d:nimExperimentalAsyncjsThen -d:nimExperimentalJsfetch --run -d:nimDebug -d:nimDebugDlOpen -d:ssl -d:nimDisableCertificateValidation --forceBuild:on --colors:off --verbosity:0 --hints:off --lineTrace:off --nimcache:/home/runner/work/Nim/Nim --out:/home/runner/work/Nim/Nim/temp /home/runner/work/Nim/Nim/temp.nim

🤖 Bug found in 22 mins bisecting 2431 commits at 110 commits per second

from nim.

juancarlospaco avatar juancarlospaco commented on September 2, 2024

@bung87 See #24031 (comment) looks like your PR introduced a bug #20548

from nim.

metagn avatar metagn commented on September 2, 2024

Could also just disallow this, not a critical regression

from nim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.