5f0c0dcfbc
Bytecode for 'assert' statement includes source positions, which are different on Linux and Windows due to different newline characters. This causes bytecode generator tests to fail on Windows, as expected output includes source positions calculated on Linux. To avoid these failures, new flag 'omitSourcePositions' is added to bytecode generator and used in the bytecode generator test. Change-Id: I296c9a70fa5f389b30a8982152513fdd57447c08 Reviewed-on: https://dart-review.googlesource.com/62880 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>