nim-lang / Nim

Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
https://nim-lang.org
Other
16.61k stars 1.47k forks source link

make all sizeof calls in codegen use types #24433

Open metagn opened 1 week ago

metagn commented 1 week ago

follows up #24445, refs https://github.com/nim-lang/nif/pull/120

Not sure if using sizeof(loc.t) is always correct