# New Ticket Created by # Please include the string: [perl #123967] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123967 >
OS: Ubuntu 14.10 Linux 64-bit, 2GiB RAM, VirtualBox Host: Windows 8 Intel i5 Core rakudo commit 67a75c1e1d9ed99326b7e426eea3cd969dba35ea Date: Sat Feb 28 16:16:52 2015 +0100 Accidentally called $class.new(...) without a matching signature. The compiler correctly reports that it could not find a matching signature, but incorrectly does *not* report the package/file/line where the bad call occurred. Incidentally, the signature it *did* try has a trailing '*%_' that doesn't occur in the actual code, but that may be a compiler artifact. The entirety of the error is: --cut here-- ===SORRY!=== Cannot call 'new'; none of these signatures match: :(Polar $: Real \mag, Real \theta, *%_) --cut here-- Below is the class, followed by the admittedly incorrect attempt to invoke it: --cut here-- class Polar { proto method new(|) { * } multi method new(Real \mag, Real \theta) { } } constant j = Polar.new( 0e0 ); say j.re; --cut here--