[Issue 3469] ICE(func.c): Regression. Calling non-template function as a template, from another module
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 3 01:05:19 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3469
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.035 |1.050
Summary|ICE in func.c |ICE(func.c): Regression.
| |Calling non-template
| |function as a template,
| |from another module
OS/Version|Linux |All
Severity|normal |regression
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-11-03 01:05:18 PST ---
Reduced test case.
--- test.d ----------------
import test2;
void b(){
test2.call!();
}
--- test2.d ---------------
void call(){ }
---------------------------
assert func.c(133) semanticRun <= 1
This is a regression: it worked on DMD 2.026, but failed on 2.030 and later.
Fails on the current D1, as well.
When doing a DotIdExpTemplate call, it doesn't check that thing it's calling is
actually a template.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list