Skip to content

No difference between new simple type and type alias #181

Description

@uschuster

There is no difference in the AST between a new simple type and a type alias, but there should be one. Both AST entries consist of a node of type ntTypeDecl and a child node of type ntType.

Sample

type
  TNewInteger = type Integer;
  TIntegerAlias = Integer;

Current AST of type section

ntTypeSection
|- ntTypeDecl  [anName = TNewInteger]
   |- ntType   [anName = Integer]
|- ntTypeDecl  [anName = TIntegerAlias]
   |- ntType   [anName = Integer]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions