don't automatically take pointer when passing by non-copying value

this commit does not have all tests passing
This commit is contained in:
Andrew Kelley
2018-06-15 13:49:39 -04:00
parent 59b3dc8907
commit e311cd562b
11 changed files with 249 additions and 272 deletions

View File

@@ -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(