Confusing behaviour with properties

About Monkey 2 Forums Monkey 2 Development Confusing behaviour with properties

This topic contains 0 replies, has 1 voice, and was last updated by  peterigz 2 years, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1174

    peterigz
    Participant

    I’m not sure if this is intended or not but the following code illustrates what I mean. It involves setting the value of a field using a property, by using values of the property itself. I won’t be doing this anyway as I’m switching to returning a new struct rather then changing it’s values but nevertheless thought I’d see if this is meant to be or not as it seems unintuitive:

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.