[dmd-internals] [D-Programming-Language/dmd] 10ce85: fix Issue 10526 - opDispatch with IFTI should not ...
GitHub
noreply at github.com
Fri Jul 5 11:20:28 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 10ce85d0d9c661843ad8bd77c23f229bf5732ca1
https://github.com/D-Programming-Language/dmd/commit/10ce85d0d9c661843ad8bd77c23f229bf5732ca1
Author: k-hara <k.hara.pg at gmail.com>
Date: 2013-07-02 (Tue, 02 Jul 2013)
Changed paths:
M src/expression.c
M src/mtype.c
M test/runnable/ufcs.d
Log Message:
-----------
fix Issue 10526 - opDispatch with IFTI should not disable UFCS
When opDispatch result is a function template that requires IFTI, it would be kept on `DotTemplateInstanceExp` so `ti->needsTypeInference(sc)` returns TRUE in its semantic().
UFCS dispatch should check that the opDispatch result is really valid or not, by instantiating the function template.
Commit: 11d22d63ac22eb5980b6370f5f93a2a22e995e29
https://github.com/D-Programming-Language/dmd/commit/11d22d63ac22eb5980b6370f5f93a2a22e995e29
Author: Walter Bright <walter at walterbright.com>
Date: 2013-07-05 (Fri, 05 Jul 2013)
Changed paths:
M src/expression.c
M src/mtype.c
M test/runnable/ufcs.d
Log Message:
-----------
Merge pull request #2292 from 9rnsr/fix_ufcs
Issue 10526 - opDispatch with IFTI should not disable UFCS
Compare: https://github.com/D-Programming-Language/dmd/compare/d9c710351028...11d22d63ac22
More information about the dmd-internals
mailing list