diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-03-10 13:04:55 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-03-10 13:04:55 +0200 |
| commit | e0fb0770d1012e1a5afba947ba96dc53fe2ca45c (patch) | |
| tree | 5ff2755649da691d86e26367b05880aa2b3771c0 /src/codegen/llvm | |
| parent | b9f521b40217835c72bcb91debf3904d5b9df6e7 (diff) | |
| download | zig-e0fb0770d1012e1a5afba947ba96dc53fe2ca45c.tar.gz zig-e0fb0770d1012e1a5afba947ba96dc53fe2ca45c.zip | |
Sema: if generic function evaluates to another generic function call it inline
```zig
fn foo(a: anytype, b: @TypeOf(a)) void { _ = b; }
test {
// foo evaluates to `fn (type) void` and must be called inline
foo(u32, u32);
}
```
Diffstat (limited to 'src/codegen/llvm')
0 files changed, 0 insertions, 0 deletions
