diff options
| author | g-w1 <58830309+g-w1@users.noreply.github.com> | 2020-12-22 18:26:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 01:26:36 +0200 |
| commit | cb3198af2af2501c1caf04228736d0b94a371f97 (patch) | |
| tree | 012c0f5507068c5fe1e9ec9e8a8f80da872791b9 /lib/std/testing.zig | |
| parent | ea18f894f524fdc82dc09ea9c6abf8feb93b04e8 (diff) | |
| download | zig-cb3198af2af2501c1caf04228736d0b94a371f97.tar.gz zig-cb3198af2af2501c1caf04228736d0b94a371f97.zip | |
stage2: @TypeOf (#7475)
* stage2: add @TypeOf
* stage2: discriminate on what type of @builtinCall in nodeMayNeedMemoryLocation
* merge upstream into my stash
* add type equality to make easier to test and defer free the types
* remove addDeclErr, I dont know why I added it, its from a different branch that im working on
* add tests
* update error message to match stage1
* use ComptimeStringMap and update which nodes don't need memory from vexu's suggestions
* fix typo
Co-authored-by: Veikka Tuominen <git@vexu.eu>
* make @TypeOf(single_arg) go to .typeof zir inst and add test for that
* unioninit, as, reduce change mayneedmemorylocation
Co-authored-by: Veikka Tuominen <git@vexu.eu>
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions
