
ben
2021-9-6 17:17:18
No, it might be the obvious problem. How do I bind B with … ?

samth
2021-9-6 17:17:58
(All (B ...) something)

ben
2021-9-6 17:19:38
ok no it’s not that obvious, I’m working at the type-rep.rkt level … getting types from the expanded code and trying to turn their parts into a contract

ben
2021-9-6 17:20:34
the specific issue is probably from taking an ->
out of a Poly
or PolyDots
type

samth
2021-9-6 17:20:36
So the problem is you’re trying to parse a type but you haven’t set up the environment correctly?

ben
2021-9-6 17:20:55
yes that sounds right

samth
2021-9-6 17:21:09
I would just look at how parsing sets up the environment when parsing an All type

samth
2021-9-6 17:21:20
I would be more helpful but I’m not at my computer

ben
2021-9-6 17:22:15
:+1:

ben
2021-9-6 17:23:11
last time I tried, I got confused about all the different environments: index-env, tvar-env, scoped-tvar-env