Menu

#30 Illegal code in unit test support for protected attributes

closed
Generation (37)
5
2012-09-24
2006-07-05
Mark Gawler
No

When a class has an attribute who's type is a
protected type the generated Unit_Test child package
fails to compile with the following error:
left hand side of assignment must not be a limited type

Discussion

  • Simon Wright

    Simon Wright - 2006-07-07

    Logged In: YES
    user_id=917025

    ColdFrame bug #358

     
  • Simon Wright

    Simon Wright - 2006-09-05

    Logged In: YES
    user_id=917025

    Implemented access-type accessors, as for Timers.

    Will still cause problems if a public class has an attribute of a private (protected)
    type, but you wouldn't have one of those, would you!

     

Log in to post a comment.