Skip to content

aspect default productions with collection attributes #290

@remexre

Description

@remexre

It'd be useful to specify a base equation for a collection attribute in a aspect default production, for example:

aspect default production
top::Expr ::=
{
  top.constraints := case top.inhTy of
  | just(ty) -> [constraintEq(top.synTy, ty)]
  | nothing() -> []
  end;
}

to ensure that checked and inferred types are the same when bidirectional typing is used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions