-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std/json
JsonNode
==
operator raises exception
#22253
Comments
This was referenced Jul 11, 2023
!nim c from std/json import JsonNode, `==`
proc f() {.raises: [].} = discard default(JsonNode) == nil |
@juancarlospaco (contributor) devel :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) stable :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 1.6.0 :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 1.4.0 :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 1.2.0 :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 1.0.0 :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 0.20.2 :-1: FAILOutput
Stats
IRASTnnkStmtList.newTree(
nnkFromStmt.newTree(
nnkInfix.newTree(
newIdentNode("/"),
newIdentNode("std"),
newIdentNode("json")
),
newIdentNode("JsonNode"),
nnkAccQuoted.newTree(
newIdentNode("==")
)
),
nnkProcDef.newTree(
newIdentNode("f"),
newEmptyNode(),
newEmptyNode(),
nnkFormalParams.newTree(
newEmptyNode()
),
nnkPragma.newTree(
nnkExprColonExpr.newTree(
newIdentNode("raises"),
nnkBracket.newTree(
)
)
),
newEmptyNode(),
nnkStmtList.newTree(
nnkDiscardStmt.newTree(
nnkInfix.newTree(
newIdentNode("=="),
nnkCall.newTree(
newIdentNode("default"),
newIdentNode("JsonNode")
),
newNilLit()
)
)
)
)
) 54 minutes bisecting 7 commits at 0 commits per second.
|
ringabout
added a commit
that referenced
this issue
Jul 19, 2023
bung87
pushed a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Nim Version
version-2-0
:devel
:Current Output
1.6.14:
version-2-0
anddevel
:Expected Output
Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: