- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Do we have tests for range positions?
Fri, 2011-12-02, 09:47
Hi,
I tried to find out if we have tests for range positions support in
compiler. I found tests/files/positions but they seem to be not
updated for a while and it's not clear what they do.
Ideally, I'd like to feed a piece of code to compiler and check
positions attached to trees.
Fri, 2011-12-02, 11:47
#2
Re: Do we have tests for range positions?
-Yrangepos validates positions and was run on the current compiler
(at least before the git move).
You cannot really give .check file with expected tree and its positions but I guess it shouldn't be so hard to add if you have time.
hubert
On 12/02/2011 09:52 AM, Adriaan Moors wrote:
You cannot really give .check file with expected tree and its positions but I guess it shouldn't be so hard to add if you have time.
hubert
On 12/02/2011 09:52 AM, Adriaan Moors wrote:
CAJQegsi_hEqv6V_mi3sUDyBwX0NZYxpMvuaUyjTgrpE885KdKw [at] mail [dot] gmail [dot] com" type="cite"> I think -Yrangepos validates positions of the compiled program
On Fri, Dec 2, 2011 at 9:46 AM, Grzegorz Kossakowski <grzegorz [dot] kossakowski [at] gmail [dot] com" rel="nofollow">grzegorz.kossakowski@gmail.com> wrote:
Hi,
I tried to find out if we have tests for range positions support in
compiler. I found tests/files/positions but they seem to be not
updated for a while and it's not clear what they do.
Ideally, I'd like to feed a piece of code to compiler and check
positions attached to trees.
--
Grzegorz Kossakowski
On Fri, Dec 2, 2011 at 9:46 AM, Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> wrote: