Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

interface inheritance issue


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Wipe   Members   -  Reputation: 245

Like
1Likes
Like

Posted 17 February 2013 - 03:48 PM

shared interface ielement
{
    void func1();
}

shared interface iscreen : ielement
{
    void func2();
}

mixin class celementbase
{
    void func1()
    {
    }
}

class cscreen : celementbase, iscreen
{
    void func2()
    {
    }
}

void stuff( iscreen@ scr )
{
    scr.func1();
}


"No matching signatures to 'iscreen::func1()'".

rev1558



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3231

Like
0Likes
Like

Posted 17 February 2013 - 05:35 PM

Thanks. I'll look into this.


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 Andreas Jonsson   Moderators   -  Reputation: 3231

Like
0Likes
Like

Posted 18 February 2013 - 06:10 PM

I've fixed this problem in revision 1563.

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS