Initialising array of Aliases give error.

About Monkey 2 Forums Monkey 2 Development Initialising array of Aliases give error.

This topic contains 5 replies, has 5 voices, and was last updated by  Jesse 2 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7497

    AaronK
    Participant

    Not sure if it’s something I’m doing wrong but Offset was a struct that I changed to an Alias and then compilation failed.

    [/crayon]

    Gives the error

    Error : Value cannot be implicitly cast from type ‘std.geom.Vec2<Int>[]’ to type ‘std.geom.Vec2<Int>[]’

    #7499

    Ethernaut
    Participant

    Works here, V1.1.03 on Mac OS.

    I added a ‘Main’ function so I could test it.

    Are you sure the problem is not elsewhere?

    #7515

    AdamStrange
    Participant

    confirmed 1.0.91 gives an error

    1.1.03 does not give an error

    #7521

    Mark Sibly
    Keymaster

    Might be time for a new binary release soon…

    #7545

    AaronK
    Participant

    I can only find 1.1.01 in the files. Is there a beta section somewhere where I can get the latest?

    #7547

    Jesse
    Participant

    you can up to the latest release from here:
    https://github.com/blitz-research/monkey2/releases

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.