[Issue 3924] nothrow ignored in some situations
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 9 03:56:41 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3924
Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at kyllingen.net
--- Comment #1 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-11-09 03:55:37 PST ---
(In reply to comment #0)
> While this code that looks correct doesn't compile:
>
>
> pure void foo(pure nothrow void delegate(int) callable) {
> callable(5);
> }
>
> [...]
>
> With the first error:
> test1.d(1): basic type expected, not pure
Note that this works:
pure void foo(void delegate(int) pure nothrow callable) {
callable(5);
}
--
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