On Thursday, 13 August 2020 at 09:54:06 UTC, Mr. Backup wrote:
And as soon as I came across it, I wanted to use it in my
project. But it has many packages for the same things, but
these packages are unfinished. Everyone creates their own. You
start comparing them and don't know what to choose f
When I create a generator using an interface (or abstract class)
I must cast the concrete instance to the interface. Why does the
Generator not know that B is a implementation of the interface of
A?
/// Test Code
interface A {}
class B : A{}
// Fails
auto testGen1 = new Generator!A({
yiel