Jason Beetham

Results 73 comments of Jason Beetham

Oh do not get me wrong I agree it sucks, but as it's an experimental feature that will be the default in time. You cannot have the pragma effect(consider strictFuncs/viewTypes/strictNotNil)...

`nil` without a type and no way to infer the type is typed to `typeof(nil)`, so simply doing ```nim type A = ref object impl: pointer i: int B =...

It's not urgent for me but just thought I'd report this issue still persists on EndeavourOS(Arch derivative)

``` jason@jason-desktop ~> ls -lt /usr/share/gir-1.0/Web* -rw-r--r-- 1 root root 1728289 Nov 30 16:52 /usr/share/gir-1.0/WebKit2-5.0.gir -rw-r--r-- 1 root root 2357784 Nov 30 16:52 /usr/share/gir-1.0/WebKit2WebExtension-5.0.gir -rw-r--r-- 1 root root 1731936 Nov...

One of the biggest hidden defects is the `RangeDefect`. Might it make sense to do the `cstring` treatment and making them a warning on implicit conversions? Cause right now they're...

> currently one could miss handling it That's an understatement, I'd wager any library that uses subrange types has a range defect bug somewhere.

```nim import std/times echo parse("61", "mm") ``` Is the most poignant example I can provide that demonstrates the present issue with subrange types. To use the `times.parse` procedure one has...

The conversion from base to subrange is implicit through the procedure call https://github.com/nim-lang/Nim/blob/version-1-6/lib/pure/times.nim#L2001 Which calls https://github.com/nim-lang/Nim/blob/version-1-6/lib/pure/times.nim#L1336-L1339 There is no visible explicit conversion. It's all done in procedure dispatch. Which I...

In a world where people pronounce JSON "J-son" or GUI "Gooey", perhaps it's not pronounced as it's abbreviation.

Given `assumeHasValue` has `hasValue sym, val` been considered? I think it'd allow value narrowing enabling more compile time checks and evaluations.