Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annotation alias has unclear error with class.together #539

Open
samdphillips opened this issue Aug 13, 2024 · 0 comments
Open

Annotation alias has unclear error with class.together #539

samdphillips opened this issue Aug 13, 2024 · 0 comments

Comments

@samdphillips
Copy link
Contributor

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)
@samdphillips samdphillips changed the title Annotation alias not working with class.together Annotation alias has unclear error with class.together Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant