{
"@context": "https://nxdlang.org/schema",
"doc_id": "PT104",
"title": "PT104 - Intentional Failures",
"description": "Intentional Test Failures",
"layer": "Passed Tests",
"category": "Passed Tests - Nim",
"keywords": [Nim, Pass, Test],
"doc_version": "1.0",
"status": "active"
}
# PT104 Intentional Failures
### NXD Sample:
```nxd
MODULE test
```
### Result:
FAIL
### Expected Output:
FAIL - Capitalization violation
### Expected Rejection Stage:
[X] Lexer
[X] Parser
[ ] AST
[ ] IR
[ ] Semantics
[ ] Backend
### Actual Output:
N/A
### Notes:
intentional Parser failure. no IR JSON generated. After the MODULE keyword, NXD expects an IDENT token.
The lexer classified "test" as LOWNAME rather than IDENT.
Documentation