Closed patrickt closed 7 years ago
@@ master #41 diff @@
==========================================
Files 1 1
Lines 581 587 +6
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 321 333 +12
+ Misses 225 221 -4
+ Partials 35 33 -2
Powered by Codecov. Last update 1e38568...26a3591
sigh
This makes three major changes:
declarations
tag in top-levelfile
objects. They are still included underimports
. This is more in line with the Go spec, which treats imports as declarations akin to consts and vars.var
andconst
entities now contain a list ofspec
objects, which contain names, variables, and assigned values (if any). See the test cases for an example of this.declarations
is now an array of objects. This simplifies structure access (in downstream Haskell, we had to parse declarations as a list of lists, thenjoin
it together, hence losing information aboutconst
s in the same toplevel clause, which broke iota propagation).This fixes #38.
This is a backwards-incompatible change, and will be tagged as 0.2.0.