Mercurial > projects > ldc
diff gen/toir.cpp @ 422:fa91b03d9cd7
Error message for calling a function with a missing 'this' arg.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 29 Jul 2008 10:29:52 +0200 |
parents | ac1fcc138e42 |
children | c8d98ccad0cc |
line wrap: on
line diff
--- a/gen/toir.cpp Mon Jul 28 21:37:47 2008 +0200 +++ b/gen/toir.cpp Tue Jul 29 10:29:52 2008 +0200 @@ -886,7 +886,7 @@ } } - return DtoCallFunction(type, fnval, arguments); + return DtoCallFunction(loc, type, fnval, arguments); } //////////////////////////////////////////////////////////////////////////////////////////