nokia / ntt

Modern tools for TTCN-3

Home Page:https://nokia.github.io/ntt/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support anonymous enumertation types.

5nord opened this issue · comments

Not all enumerated types have a name:

$ ntt -i
ntt dev (none, unknown)
>> type record of enumerated { E } RoE
Error: unknown syntax node type: *ast.SubTypeDecl (&{TypeTok:{Terminal:{pos:1 Kind:type Lit:type} LeadingTriv:[] TrailingTriv:[]} Field:0xc0001c2000 With:<nil>})

Names are usually stored in the environment.

Originally posted by @5nord in #637 (comment)

implementing basic support:
#685 > 79764e6