Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

Support annotation processing #15

Open
raulraja opened this issue Sep 2, 2017 · 0 comments
Open

Support annotation processing #15

raulraja opened this issue Sep 2, 2017 · 0 comments

Comments

@raulraja
Copy link
Member

raulraja commented Sep 2, 2017

Many of the docs in libs may include examples with annotations. That is actually the case in Kategory.
We should ensure that ank is able to process annotations as part of the script evaluation in the same fashion we are preprocessing with kapt
Ex:

Should compile:

@higherkind data class X<A>(val a: A) : XKind<A>
X(1)

Currently:

Exception in thread "main" javax.script.ScriptException: error: unresolved reference: XKind
@higherkind data class X<A>(val a: A) : XKind<A>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant