[Issue 15984] [REG2.071] Interface contracts retrieve garbage instead of parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 10 12:19:49 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=15984

robin.kupper at rwth-aachen.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin.kupper at rwth-aachen.de

--- Comment #15 from robin.kupper at rwth-aachen.de ---
While the first example works now, parameters in out contracts on interface
functions are still garbage.

See example https://run.dlang.io/is/c5XDwJ.

Placing the contract on the implementing function currently seems to be the
only  workaround.

--


More information about the Digitalmars-d-bugs mailing list