Do we have tests for range positions?

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.

Re: Do we have tests for range positions?

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> 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

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:
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 [dot] kossakowski [at] gmail [dot] 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


Copyright © 2013 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland