Error message request

About Monkey 2 Forums Monkey 2 Development Error message request

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  abakobo 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10942

    Ethernaut
    Participant

    Would it be possible for the build process to stop and print an error if an asset or .monkey2 source file is not found when you use #Import “filename.ext” ?

    I often see myself spending too much time trying to find a mistake in my code when it is simply a typo in the file name… it would be a lot easier if the build process simply failed in those cases, at least in Debug mode.

    I can create a Github issue if that’s a reasonable request.
    Thanks!

    #10944

    abakobo
    Participant

    I’ve already posted an issue about this…
    You can check if the file was loaded and send an error at runtime but I’d rather like it at compile time too.

    https://github.com/blitz-research/monkey2/issues/186

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

You must be logged in to reply to this topic.