diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-22 19:51:37 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-22 19:51:37 -0500 |
| commit | 47cf8520adb245dbd34ad60fc9206b7eaab5e0be (patch) | |
| tree | e2859d84e1dbf803b63bd3ac11014f7b3709f467 /test/cases/this.zig | |
| parent | 6a5e61acd117277eb2f943f5bc02ff7043542d4b (diff) | |
| download | zig-47cf8520adb245dbd34ad60fc9206b7eaab5e0be.tar.gz zig-47cf8520adb245dbd34ad60fc9206b7eaab5e0be.zip | |
use comptime instead of inline for var and params
See #221
Diffstat (limited to 'test/cases/this.zig')
| -rw-r--r-- | test/cases/this.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/this.zig b/test/cases/this.zig index f3c231de0a..f18215b66c 100644 --- a/test/cases/this.zig +++ b/test/cases/this.zig @@ -2,7 +2,7 @@ const assert = @import("std").debug.assert; const module = this; -fn Point(inline T: type) -> type { +fn Point(comptime T: type) -> type { struct { const Self = this; x: T, |
