[Issue 2394] IFTI fails for nulls

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 18 18:12:09 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=2394


Jesse Phillips <Jesse.K.Phillips+D at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jesse.K.Phillips+D at gmail.co
                   |                            |m


--- Comment #1 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2011-07-18 18:06:50 PDT ---
Here is a simple example with string.
----
void main() {
    example(null);
}

void example()(string[] foo) {
}
----
test.d(3): Error: template test.example() does not match any function
template declaration
test.d(3): Error: template test.example() cannot deduce template function
from argument types !()(void*)

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