Open dzzzb opened 3 years ago
@db-bc Thank you for being so active lately, we really appreciate the provided feedback. This definitely needs to be investigated.
@nndobrev You're very welcome. It's great to have a place where these things can be reported, so I do as much as I can. Thanks to you all over there for all the work on AL!
@nndobrev If you really love hunting bugs, what about proceeding with the oldest ones? Just a tiny example: https://github.com/microsoft/AL/issues/created_by/nkarolak ;-)
I found https://github.com/microsoft/AL/issues/6696 while just trying to get a list of
enum
Names()
and chop off the 1st one representing the blank values. Now I'm trying to be clever and work around that by taking aGetRange()
of theNames()
list and omit the 1st name that way. I shouldn't have tried to be clever! I just get a different, worse error/crash.Shouldn't it be OK to take a read-only 'view'
List
of a read-only list, so long as we don't then try to mutate the 'view' copy (and see #6696 for that)?If not, can this be diagnosed at compile-time, as I also request for #6696?
the code:
result:
the error from Event Viewer: