Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 06, 2014 [Issue 12302] New: Assertion failure in expression.c (line 432) when using template isCallable | ||||
---|---|---|---|---|
| ||||
https://d.puremagic.com/issues/show_bug.cgi?id=12302 Summary: Assertion failure in expression.c (line 432) when using template isCallable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: goldmax3000@gmail.com --- Comment #0 from GoldMax <goldmax3000@gmail.com> 2014-03-06 00:52:05 PST --- DMD 2.065 class A { X x; struct X { int f() { return 1; } } auto opDispatch(string s, TArgs...)(TArgs args) { mixin("return x."~s~"(args);"); } } A func() { return null; } pragma(msg, isCallable!func); // Error The compilation failed with error: dmd: expression.c:432: Expression* resolvePropertiesX(Scope*, Expression*, Expression*): Assertion `fd->type->ty == Tfunction' failed. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 07, 2014 [Issue 12302] Assertion failure in expression.c (line 432) when using template isCallable | ||||
---|---|---|---|---|
| ||||
Posted in reply to GoldMax | https://d.puremagic.com/issues/show_bug.cgi?id=12302 Vladimir Panteleev <thecybershadow@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |thecybershadow@gmail.com --- Comment #1 from Vladimir Panteleev <thecybershadow@gmail.com> 2014-03-07 21:50:07 EET --- https://github.com/D-Programming-Language/dmd/pull/3366 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2014 [Issue 12302] Assertion failure in expression.c (line 432) when using template isCallable | ||||
---|---|---|---|---|
| ||||
Posted in reply to GoldMax | https://d.puremagic.com/issues/show_bug.cgi?id=12302 --- Comment #2 from github-bugzilla@puremagic.com 2014-03-09 20:32:41 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/df44feed6de7e7392d2a7b42c6a72ec385702c3a fix Issue 12302 - Assertion failure in expression.c (line 432) when using template isCallable https://github.com/D-Programming-Language/dmd/commit/3e086a6ee3c99f35a28ea2595654dd59aa01deee Merge pull request #3366 from CyberShadow/fix12302 fix Issue 12302 - Assertion failure in expression.c (line 432) when using template isCallable -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 10, 2014 [Issue 12302] Assertion failure in expression.c (line 432) when using template isCallable | ||||
---|---|---|---|---|
| ||||
Posted in reply to GoldMax | https://d.puremagic.com/issues/show_bug.cgi?id=12302 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation