MyLifeLabs/atdgen — Issue #1: Invalid location reported when using "inherit"
Author: mjambon
Created: 2012-01-14 00:56:23+00:00
State: open

```
$ atdgen -j
type t = {x : int}
type t2 = { inherit t }

File "", line 1, characters 10-17:
First definition of record field name x.
File "", line 1, characters 10-17:
Impossible second definition of record field name x.

Use a different name, possibly by placing
after the field name or variant name in the ATD type definition.
can also be used after a whole record.
```

The second location should be the location of the ```inherit``` expression, not of the original field.