Shea Levy
unread,Apr 15, 2015, 9:27:13 PM4/15/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lan...@googlegroups.com
Hi all,
I’m sure I’m missing something simple, but when I have a line like this:
val x = 10 : size_t 10
I get an error like this:
error(3): the dynamic expression cannot be assigned the type [S2Eapp(S2Ecst(g1uint_int_t0ype); S2Ecst(size_kind), S2Eintinf(10))].
error(3): mismatch of static terms (tyleq):
The actual term is: S2Eapp(S2Ecst(g1int_int_t0ype); S2Ecst(int_kind), S2Eintinf(10))
The needed term is: S2Eapp(S2Ecst(g1uint_int_t0ype); S2Ecst(size_kind), S2Eintinf(10))
The error message seems straightforward, but I’m not sure how to proceed.
Also, is there somewhere I can read more about kinds and tkindef and all? Is it similar to kinds in Haskell?
Thanks,
Shea