Clyybber
Clyybber
After thinking a bit more about it I think it's fine as is, only that `{.compileTime.}` is a bit clunky syntactically. - `const` serves to bridge compile time and runtime...
@deech I agree; I'd prefer the syntax without the pragma; but there doesn't seem to be consensus; and it would probably require an RFC first. Anyways, I have a proof-of-concept...
I think slices should be of type `lent` and should copy on write. For mutable views maybe a mutable equivilalent of `lent` called `view` should be introduced.
We could also do this: In all assignments `let a = b` where `a` doesn't escape the stackframe, make `a` `lent`. If we were to later on pass `a` to...
I think is great, much more robust then the current system. Since we now output to a file, are multiline errors/warnings possible?
I'd say this is expected. ```nim type Foo[T :static[int]] = object proc bar[T :static[int]](x :type T) :Foo[T] = discard ``` works. I think the reason is that `[T: static int]`...