diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-05 17:42:13 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-05 17:42:13 -0500 |
| commit | 6940212ecbef349e449441e1fd813116865d3a5f (patch) | |
| tree | 02242395c35b7f209b1184bc1941acf2736520a9 /std/debug/index.zig | |
| parent | b7bc259093ccad98cdc5661c493c0bdb4771e899 (diff) | |
| download | zig-6940212ecbef349e449441e1fd813116865d3a5f.tar.gz zig-6940212ecbef349e449441e1fd813116865d3a5f.zip | |
error sets: fix peer resolution of error unions
Diffstat (limited to 'std/debug/index.zig')
| -rw-r--r-- | std/debug/index.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/debug/index.zig b/std/debug/index.zig index a759a2af16..2bb03a6706 100644 --- a/std/debug/index.zig +++ b/std/debug/index.zig @@ -264,7 +264,7 @@ pub fn openSelfDebugInfo(allocator: &mem.Allocator) !&ElfStackTrace { } } -fn printLineFromFile(allocator: &mem.Allocator, out_stream: &io.OutStream, line_info: &const LineInfo) !void { +fn printLineFromFile(allocator: &mem.Allocator, out_stream: var, line_info: &const LineInfo) !void { var f = try io.File.openRead(line_info.file_name, allocator); defer f.close(); // TODO fstat and make sure that the file has the correct size @@ -1054,7 +1054,7 @@ fn readULeb128(in_stream: var) !u64 { } } -fn readILeb128(in_stream: &io.InStream) !i64 { +fn readILeb128(in_stream: var) !i64 { var result: i64 = 0; var shift: usize = 0; |
