Documentation

FT022 (micro test)

Back to documentation index
# FT022 (micro test)

### NXD Sample:

```nxd
MODULE TEST

FUNC MAIN()
    LET VALUES SET [1, 2, 3]

    PRINTLN(VALUES)
```

### Result:

COMPILER: FAIL
SEMANTICS: FAIL

### Expected Output:


6
### Actual Output:

N/A

### Notes:

Verified list literal parsing.
Verified AST generation for list values.
Verified list expressions survive frontend processing.
Failure occurred during JSON serialization.
Serializer attempted to process nested ASTLiteral nodes contained within the list.
Current serializer does not support converting list elements represented as ASTLiteral objects into JSON-compatible IR literals.

### Technical Significance

This test demonstrates that list literals are recognized by the NXD frontend and represented in the AST. The failure occurs during translation from AST structures into serialized IR.