Ticket Created
over 3 years ago

WERETECH-11450

The whole system literately dies when I use programatically-generated menus for Menu(first version) with IDs that are not text(just numbers)

When I tried to use numbers as IDs in .xml menu files the compiler said "heck no", and refused to compile resources. I think the same should be applied to code-generated menus, because I spent a lot of time trying to debug the whole thing, or just throw an exception at runtime, so I will at least know what died. I think the first option is better.

Parents
  • What system is crashing?  Your whole pc/mac or an actual device? Is it just that the sim crashes?

    The API doc does say it's a symbol, and the example in the API doc shows symbols.  Turning on type checking should catch this BTW.

Comment
  • What system is crashing?  Your whole pc/mac or an actual device? Is it just that the sim crashes?

    The API doc does say it's a symbol, and the example in the API doc shows symbols.  Turning on type checking should catch this BTW.

Children