{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT134",
"title": "PT134 - Intentional Failures",
"description": "Intentional Test Failures",
"layer": "Passed Tests",
"category": "Passed Tests - Nim",
"keywords": [Nim, Pass, Test],
"doc_version": "1.0",
"status": "active"
}
# PT134 Intentional Failure
### NXD Sample:
```nxd
MODULE TEST
TYPE STATUS ENUM
READY
WAITING
FAILED
FUNC MAIN()
PRINTLN("ENUM_DECLARED")
```
### Result:
FAIL - Parser
### Expected Rejection Stage:
[ ] Lexer
[X] Parser
[ ] AST
[ ] IR
[ ] Semantics
[ ] Backend
### Actual Output:
N/A
### Notes:
intentional Parser failure. no IR JSON generated. Parser expected a colon in the ENUM definition but encountered a newline instead.
Documentation