From bb2e99a69201060b88dd25602def42f31ba9ab65 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Tue, 17 Dec 2013 20:26:50 -0800 Subject: SI-8015 Count lines by EOLs Source lines were counted by "line break chars", including FF. Clients of `pos.line` seem to all expect the ordinary line num, so that is what they get. Unicode processing now precedes line ending processing. --- test/files/neg/t8015-ffa.check | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/neg/t8015-ffa.check (limited to 'test/files/neg/t8015-ffa.check') diff --git a/test/files/neg/t8015-ffa.check b/test/files/neg/t8015-ffa.check new file mode 100644 index 0000000000..0f28be7fe7 --- /dev/null +++ b/test/files/neg/t8015-ffa.check @@ -0,0 +1,6 @@ +t8015-ffa.scala:7: error: type mismatch; + found : String("3") + required: Int + val i: Int = "3" // error line 7 (was 8) + ^ +one error found -- cgit v1.2.3