Comments (2)
!nim c
proc x(y: int): string = discard
type
C = concept
proc x(y: C): int
A[T: C] = tuple
x: T
B*[T: C] = object
a: A[T]
from nim.
🐧 Linux bisect by @juancarlospaco (collaborator)
devel 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:04
- Finished
2024-09-01T16:11:04
- Duration
AST
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("string"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("int"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
newEmptyNode()
)
)
),
nnkTypeSection.newTree(
nnkTypeDef.newTree(
newIdentNode("C"),
newEmptyNode(),
nnkTypeClassTy.newTree(
newEmptyNode(),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("int"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("C"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
newEmptyNode()
)
)
)
),
nnkTypeDef.newTree(
newIdentNode("A"),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkTupleTy.newTree(
nnkIdentDefs.newTree(
newIdentNode("x"),
newIdentNode("T"),
newEmptyNode()
)
)
),
nnkTypeDef.newTree(
nnkPostfix.newTree(
newIdentNode("*"),
newIdentNode("B")
),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkObjectTy.newTree(
newEmptyNode(),
newEmptyNode(),
nnkRecList.newTree(
nnkIdentDefs.newTree(
newIdentNode("a"),
nnkBracketExpr.newTree(
newIdentNode("A"),
newIdentNode("T")
),
newEmptyNode()
)
)
)
)
)
)
stable 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:08
- Finished
2024-09-01T16:11:09
- Duration
AST
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("string"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("int"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
newEmptyNode()
)
)
),
nnkTypeSection.newTree(
nnkTypeDef.newTree(
newIdentNode("C"),
newEmptyNode(),
nnkTypeClassTy.newTree(
newEmptyNode(),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("int"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("C"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
newEmptyNode()
)
)
)
),
nnkTypeDef.newTree(
newIdentNode("A"),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkTupleTy.newTree(
nnkIdentDefs.newTree(
newIdentNode("x"),
newIdentNode("T"),
newEmptyNode()
)
)
),
nnkTypeDef.newTree(
nnkPostfix.newTree(
newIdentNode("*"),
newIdentNode("B")
),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkObjectTy.newTree(
newEmptyNode(),
newEmptyNode(),
nnkRecList.newTree(
nnkIdentDefs.newTree(
newIdentNode("a"),
nnkBracketExpr.newTree(
newIdentNode("A"),
newIdentNode("T")
),
newEmptyNode()
)
)
)
)
)
)
2.0.8 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:09
- Finished
2024-09-01T16:11:09
- Duration
AST
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("string"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("int"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
newEmptyNode()
)
)
),
nnkTypeSection.newTree(
nnkTypeDef.newTree(
newIdentNode("C"),
newEmptyNode(),
nnkTypeClassTy.newTree(
newEmptyNode(),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("int"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("C"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
newEmptyNode()
)
)
)
),
nnkTypeDef.newTree(
newIdentNode("A"),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkTupleTy.newTree(
nnkIdentDefs.newTree(
newIdentNode("x"),
newIdentNode("T"),
newEmptyNode()
)
)
),
nnkTypeDef.newTree(
nnkPostfix.newTree(
newIdentNode("*"),
newIdentNode("B")
),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkObjectTy.newTree(
newEmptyNode(),
newEmptyNode(),
nnkRecList.newTree(
nnkIdentDefs.newTree(
newIdentNode("a"),
nnkBracketExpr.newTree(
newIdentNode("A"),
newIdentNode("T")
),
newEmptyNode()
)
)
)
)
)
)
2.0.0 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:13
- Finished
2024-09-01T16:11:13
- Duration
AST
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("string"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("int"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
newEmptyNode()
)
)
),
nnkTypeSection.newTree(
nnkTypeDef.newTree(
newIdentNode("C"),
newEmptyNode(),
nnkTypeClassTy.newTree(
newEmptyNode(),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("int"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("C"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
newEmptyNode()
)
)
)
),
nnkTypeDef.newTree(
newIdentNode("A"),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkTupleTy.newTree(
nnkIdentDefs.newTree(
newIdentNode("x"),
newIdentNode("T"),
newEmptyNode()
)
)
),
nnkTypeDef.newTree(
nnkPostfix.newTree(
newIdentNode("*"),
newIdentNode("B")
),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkObjectTy.newTree(
newEmptyNode(),
newEmptyNode(),
nnkRecList.newTree(
nnkIdentDefs.newTree(
newIdentNode("a"),
nnkBracketExpr.newTree(
newIdentNode("A"),
newIdentNode("T")
),
newEmptyNode()
)
)
)
)
)
)
1.6.20 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:16
- Finished
2024-09-01T16:11:16
- Duration
AST
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("string"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("int"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
newEmptyNode()
)
)
),
nnkTypeSection.newTree(
nnkTypeDef.newTree(
newIdentNode("C"),
newEmptyNode(),
nnkTypeClassTy.newTree(
newEmptyNode(),
newEmptyNode(),
newEmptyNode(),
nnkStmtList.newTree(
nnkProcDef.newTree(
newIdentNode("x"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newIdentNode("int"),
nnkIdentDefs.newTree(
newIdentNode("y"),
newIdentNode("C"),
newEmptyNode()
)
),
newEmptyNode(),
newEmptyNode(),
newEmptyNode()
)
)
)
),
nnkTypeDef.newTree(
newIdentNode("A"),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkTupleTy.newTree(
nnkIdentDefs.newTree(
newIdentNode("x"),
newIdentNode("T"),
newEmptyNode()
)
)
),
nnkTypeDef.newTree(
nnkPostfix.newTree(
newIdentNode("*"),
newIdentNode("B")
),
nnkGenericParams.newTree(
nnkIdentDefs.newTree(
newIdentNode("T"),
newIdentNode("C"),
newEmptyNode()
)
),
nnkObjectTy.newTree(
newEmptyNode(),
newEmptyNode(),
nnkRecList.newTree(
nnkIdentDefs.newTree(
newIdentNode("a"),
nnkBracketExpr.newTree(
newIdentNode("A"),
newIdentNode("T")
),
newEmptyNode()
)
)
)
)
)
)
1.4.8 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:18
- Finished
2024-09-01T16:11:18
- Duration
AST
1.2.18 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:21
- Finished
2024-09-01T16:11:21
- Duration
AST
1.0.10 👎 FAIL
Output
IR
Compiled filesize0 (0 bytes)
Stats
- Started
2024-09-01T16:11:24
- Finished
2024-09-01T16:11:24
- Duration
AST
Stats
- GCC
11.4.0
- Clang
14.0.0
- NodeJS
20.4
- Created
2024-09-01T16:10:36Z
- Comments
1
- Commands
nim c --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 8
commits at 0
commits per second
from nim.
Related Issues (20)
- Suboptimal for-loop transformation in regards to closure iters
- SIGSEGV: Object with pure enum in proc HOT 3
- Parameter not matched in template following symchoice changes HOT 13
- Output executable is not updated after changing build mode HOT 2
- Cast seq to string, heap buffer overflow with stdlib assuming terminating '\0' HOT 5
- Objects casting and custom destructor HOT 3
- `IndexDefect` on `--verbosity:3` when compiling nimbus HOT 1
- GeneriC $ proc fails to resolve HOT 4
- Double template invocation causes bad codegen (duplicate gensym) HOT 4
- SIGSEGV from OpenSSL when used in async context
- js codegen bug for `case` statement with just `else` branch HOT 4
- Unexpected behavior with range types and custom operators HOT 8
- Yielding from var fails with pairs and destructuring HOT 4
- Invalid C code generated for `lent array` in `tuple`
- Compiler error when passing a generic parameter restricted by some concept as a generic parameter to some type which restricts that parameter by the same concept. HOT 2
- compile-time int conversion fails in `when false` section
- Cannot instantiate `static int` with computed value
- Compiler crash on template evaluation for generic `static int` HOT 1
- Cannot compute `sizeof` generic type in alias
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim.