don't automatically take pointer when passing by non-copying value
this commit does not have all tests passing
This commit is contained in:
@@ -2215,7 +2215,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
\\ derp.init();
|
||||
\\}
|
||||
,
|
||||
".tmp_source.zig:14:5: error: expected type 'i32', found '*const Foo'",
|
||||
".tmp_source.zig:14:5: error: expected type 'i32', found 'Foo'",
|
||||
);
|
||||
|
||||
cases.add(
|
||||
|
||||
Reference in New Issue
Block a user