Jason Beetham

Results 36 issues of Jason Beetham

If one attempts to pass `int or float` into a macro which takes a `typedesc` it does not compile. ### Example ```nim macro test(a: typedesc) = discard test(int or float)...

Language Design

```nim import pkg/union proc doThing(i: sink int) = discard i as union(int | bool) doThing(10) ``` Complains `Error: values of type is not convertible to `

### Summary Presently docgen does not document inherited fields or show fields of a `ref` or `ptr` object. This means `dom.Document` looks like: ![image](https://user-images.githubusercontent.com/11792483/186265826-9c3043b4-c2bc-4e6b-8ca0-aa8d1e4068d0.png) Which is very unhelpful if you're...

Documentation
Easy
Documentation Generation

## Summary Makes all the `std/parseutils` operations use `openArray[char]`. Keeps `string` overloads in `std/parseutils` as they are still useful. --- ## Notes for Reviewers * leave additional context for reviewers...

stdlib

### Specification ### Example ```nim var a = 100 proc getTup: tuple[x: var int] = (x: a) getTup().x = 300 ``` ### Actual Output ``` /home/jason/.cache/nimskull/test2_d/@mtest2.nim.c:70:19: error: assignment to ‘NI64...

bug
compiler/sem