Menu

#79 Problem with inherited delegate

open-accepted
4
2004-09-07
2004-09-07
Anonymous
No

On an doubly inherited class, the parser could not
correctly link a delegate from the grandparent class.

Sample:

Public Class Grandparent
Public Delegate Function myDelegate() As Boolean
End Class

Public Class Parent
Inherits Grandparent
End Class

Public Class Child
Inherits Parent

Public Sub New(ByRef i_delegate As myDelegate)
End Sub
End Class

The above code will build but will cause an error when
generating the XML documentation. If it is changed to:

Public Sub New(ByRef i_delegate As
Grandparent.myDelegate)

the parser will work correctly.

dancrowdus[AT]gmail[DOT]com

Discussion

  • Markus Palme

    Markus Palme - 2004-09-07
    • priority: 5 --> 4
    • assigned_to: nobody --> markus_palme
    • status: open --> open-accepted
     
  • Markus Palme

    Markus Palme - 2004-09-07

    Logged In: YES
    user_id=560121

    I already know about this and will fix it in the next few
    weeks when I find the time.

     
  • Markus Palme

    Markus Palme - 2004-09-07
    • labels: 554606 --> Comment extractor
     

Log in to post a comment.