[Issue 8419] Dollar sign ($) fails in CTFE function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 23 04:55:17 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8419
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc 2012-07-23 04:55:04 PDT ---
This program runs with no errors on DMD 2.060alpha:
pure string foo(string s)() {
uint fromPos = 2;
return s[fromPos .. $];
}
void main() {
pragma(msg, foo!"12345"());
}
--
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