DescriptionBetter messages for optimized index errors.
Typed list, Array and String indexer methods detect index errors in their own optimized way but now defer to common code to diagnose the error. This code is shared with the optimized 'ioore' helper, which makes the error message consistent between optimized and unoptimized code.
The main reason for doing this is to ensure that the error messages have as much information as possible to help debug off-line using captured error messages.
BUG=
R=lrn@google.com
Committed: https://github.com/dart-lang/sdk/commit/0d4361fb6d4a4c9aa1078268c03039737f541364
Reverted: https://github.com/dart-lang/sdk/commit/82215d36f4f6163082d802508331e8b49b711b77
Committed: https://github.com/dart-lang/sdk/commit/f7263216e48e4348a489795a459938ce5c73f27c
Patch Set 1 #Patch Set 2 : #
Total comments: 8
Patch Set 3 : #Patch Set 4 : Basis for status fixes #Patch Set 5 : #Messages
Total messages: 7 (2 generated)
|