Menu

#733 Operator -> works with x->e but not (x)->e

closed
dkl
None
compiler
2014-07-17
2014-07-14
Matthew
No

Example code:

type T: elem as integer: end type

declare operator ->(x as T) as T

dim as T x

print x->elem       '' OK
print (@x)[0]->elem '' OK
print (x)->elem     '' Invalid data types, found '->'

Discussion

  • dkl

    dkl - 2014-07-17
    • status: open --> closed
    • assigned_to: dkl
     
  • dkl

    dkl - 2014-07-17

    This should fix it: [b77f07]

     

    Related

    Commit: [b77f07]


Log in to post a comment.