DanielXMoore / Civet

A TypeScript superset that favors more types and less typing

Home Page:https://civet.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`::#` doesn't work in type position

bbrk24 opened this issue · comments

With coffeePrototype, T::# works as an expression but not a type.

Does T.prototype.length actually make sense? T.foo is a namespace dereference, so I don't think there's any sense of prototype chain.

In type position, T::length currently compiles to T["length"].

Oops, right, I see.