Skip to content

Annotation alias has unclear error with class.together #539

@samdphillips

Description

@samdphillips

This produces expansion time error, ?: annotation static information needed before completed in: name

annot.macro 'E': 'Int || C || D'

class.together:
  class C(c :: List.of(E))
  class D(d :: E)

This works though

annot.macro 'E': 'Int || C || D'

class.together:
  class C(c :: List.of(Int || C || D))
  class D(d :: E)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions