diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-17 18:29:09 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-24 16:43:59 +0100 |
commit | 40c1913dd539beb4b6184b37d87e48d98803a465 (patch) | |
tree | 833a36016b51d3149525f1f6e7ea18a41d22b192 /compiler/test | |
parent | 3588832eb3c45b151d78e66b5cde1f4e772d52a8 (diff) | |
download | dotty-40c1913dd539beb4b6184b37d87e48d98803a465.tar.gz dotty-40c1913dd539beb4b6184b37d87e48d98803a465.tar.bz2 dotty-40c1913dd539beb4b6184b37d87e48d98803a465.zip |
More robust scheme for taking start/end of positions when parsing
Some trees, which do not consume input have unassigned positions (so that
they can fit in whatever range they are integrated). It's therefore risky
to take the start or end of a parsed tree's position. This commit guards
against the case where the position of the tree does not exist.
Diffstat (limited to 'compiler/test')
0 files changed, 0 insertions, 0 deletions