-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: access qualified aliases from lookup (#531)
* add test case This adds a test case illustrating the issue. The next step is to fix it! * fix point at which aliases are initialised Simply put, aliases were being initialised at the wrong point and this was causing them to be missed.
- Loading branch information
1 parent
77b454d
commit 34403f6
Showing
5 changed files
with
242 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
;; { "m1.X": [], "m1.Y": [] } | ||
;; { "m1.X": [0], "m1.Y": [0] } | ||
;; Check initial padding row! | ||
{ "m1.X": [0], "m1.Y": [1] } | ||
;; | ||
{ "m1.X": [0,0], "m1.Y": [0,0] } | ||
{ "m1.X": [0,0], "m1.Y": [0,1] } | ||
{ "m1.X": [0,0], "m1.Y": [1,0] } | ||
{ "m1.X": [1,0], "m1.Y": [0,1] } | ||
{ "m1.X": [1,0], "m1.Y": [1,0] } | ||
{ "m1.X": [1,0], "m1.Y": [1,1] } | ||
{ "m1.X": [0,1], "m1.Y": [0,1] } | ||
{ "m1.X": [0,1], "m1.Y": [1,0] } | ||
{ "m1.X": [0,1], "m1.Y": [1,1] } | ||
{ "m1.X": [1,1], "m1.Y": [0,1] } | ||
{ "m1.X": [1,1], "m1.Y": [1,0] } | ||
{ "m1.X": [1,1], "m1.Y": [1,1] } | ||
{ "m1.X": [1,1], "m1.Y": [1,2] } | ||
{ "m1.X": [2,2], "m1.Y": [2,2] } | ||
{ "m1.X": [2,2], "m1.Y": [2,1] } | ||
{ "m1.X": [2,2], "m1.Y": [1,2] } | ||
{ "m1.X": [1,2], "m1.Y": [2,1] } | ||
{ "m1.X": [1,2], "m1.Y": [1,2] } | ||
{ "m1.X": [2,1], "m1.Y": [2,1] } | ||
{ "m1.X": [2,1], "m1.Y": [1,2] } | ||
{ "m1.X": [1,1], "m1.Y": [2,1] } | ||
{ "m1.X": [1,1], "m1.Y": [1,2] } | ||
{ "m1.X": [1,1], "m1.Y": [1,1] } | ||
;; | ||
{ "m1.X": [0,0,0], "m1.Y": [2,0,1] } | ||
{ "m1.X": [1,0,0], "m1.Y": [2,0,1] } | ||
{ "m1.X": [0,1,0], "m1.Y": [2,0,1] } | ||
{ "m1.X": [0,0,1], "m1.Y": [2,0,1] } | ||
{ "m1.X": [1,0,1], "m1.Y": [2,0,1] } | ||
{ "m1.X": [0,1,1], "m1.Y": [2,0,1] } | ||
{ "m1.X": [1,1,0], "m1.Y": [2,0,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,0,1] } | ||
{ "m1.X": [0,0,0], "m1.Y": [0,2,1] } | ||
{ "m1.X": [1,0,0], "m1.Y": [0,2,1] } | ||
{ "m1.X": [0,1,0], "m1.Y": [0,2,1] } | ||
{ "m1.X": [0,0,1], "m1.Y": [0,2,1] } | ||
{ "m1.X": [1,0,1], "m1.Y": [0,2,1] } | ||
{ "m1.X": [0,1,1], "m1.Y": [0,2,1] } | ||
{ "m1.X": [1,1,0], "m1.Y": [0,2,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [0,2,1] } | ||
{ "m1.X": [0,0,0], "m1.Y": [0,1,2] } | ||
{ "m1.X": [1,0,0], "m1.Y": [0,1,2] } | ||
{ "m1.X": [0,1,0], "m1.Y": [0,1,2] } | ||
{ "m1.X": [0,0,1], "m1.Y": [0,1,2] } | ||
{ "m1.X": [1,0,1], "m1.Y": [0,1,2] } | ||
{ "m1.X": [0,1,1], "m1.Y": [0,1,2] } | ||
{ "m1.X": [1,1,0], "m1.Y": [0,1,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [0,1,2] } | ||
{ "m1.X": [0,0,0], "m1.Y": [2,1,0] } | ||
{ "m1.X": [1,0,0], "m1.Y": [2,1,0] } | ||
{ "m1.X": [0,1,0], "m1.Y": [2,1,0] } | ||
{ "m1.X": [0,0,1], "m1.Y": [2,1,0] } | ||
{ "m1.X": [1,0,1], "m1.Y": [2,1,0] } | ||
{ "m1.X": [0,1,1], "m1.Y": [2,1,0] } | ||
{ "m1.X": [1,1,0], "m1.Y": [2,1,0] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,1,0] } | ||
{ "m1.X": [0,0,0], "m1.Y": [1,2,0] } | ||
{ "m1.X": [1,0,0], "m1.Y": [1,2,0] } | ||
{ "m1.X": [0,1,0], "m1.Y": [1,2,0] } | ||
{ "m1.X": [0,0,1], "m1.Y": [1,2,0] } | ||
{ "m1.X": [1,0,1], "m1.Y": [1,2,0] } | ||
{ "m1.X": [0,1,1], "m1.Y": [1,2,0] } | ||
{ "m1.X": [1,1,0], "m1.Y": [1,2,0] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,2,0] } | ||
{ "m1.X": [0,0,0], "m1.Y": [1,0,2] } | ||
{ "m1.X": [1,0,0], "m1.Y": [1,0,2] } | ||
{ "m1.X": [0,1,0], "m1.Y": [1,0,2] } | ||
{ "m1.X": [0,0,1], "m1.Y": [1,0,2] } | ||
{ "m1.X": [1,0,1], "m1.Y": [1,0,2] } | ||
{ "m1.X": [0,1,1], "m1.Y": [1,0,2] } | ||
{ "m1.X": [1,1,0], "m1.Y": [1,0,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,0,2] } | ||
{ "m1.X": [0,0,0], "m1.Y": [2,1,1] } | ||
{ "m1.X": [1,0,0], "m1.Y": [2,1,1] } | ||
{ "m1.X": [0,1,0], "m1.Y": [2,1,1] } | ||
{ "m1.X": [0,0,1], "m1.Y": [2,1,1] } | ||
{ "m1.X": [1,0,1], "m1.Y": [2,1,1] } | ||
{ "m1.X": [0,1,1], "m1.Y": [2,1,1] } | ||
{ "m1.X": [1,1,0], "m1.Y": [2,1,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,1,1] } | ||
{ "m1.X": [0,0,0], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,0,0], "m1.Y": [1,2,1] } | ||
{ "m1.X": [0,1,0], "m1.Y": [1,2,1] } | ||
{ "m1.X": [0,0,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,0,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [0,1,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,1,0], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [0,0,0], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,0,0], "m1.Y": [1,1,2] } | ||
{ "m1.X": [0,1,0], "m1.Y": [1,1,2] } | ||
{ "m1.X": [0,0,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,0,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [0,1,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,1,0], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,1,2] } | ||
;; | ||
{ "m1.X": [3,3,3], "m1.Y": [2,3,1] } | ||
{ "m1.X": [1,3,3], "m1.Y": [2,3,1] } | ||
{ "m1.X": [3,1,3], "m1.Y": [2,3,1] } | ||
{ "m1.X": [3,3,1], "m1.Y": [2,3,1] } | ||
{ "m1.X": [1,3,1], "m1.Y": [2,3,1] } | ||
{ "m1.X": [3,1,1], "m1.Y": [2,3,1] } | ||
{ "m1.X": [1,1,3], "m1.Y": [2,3,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,3,1] } | ||
{ "m1.X": [3,3,3], "m1.Y": [3,2,1] } | ||
{ "m1.X": [1,3,3], "m1.Y": [3,2,1] } | ||
{ "m1.X": [3,1,3], "m1.Y": [3,2,1] } | ||
{ "m1.X": [3,3,1], "m1.Y": [3,2,1] } | ||
{ "m1.X": [1,3,1], "m1.Y": [3,2,1] } | ||
{ "m1.X": [3,1,1], "m1.Y": [3,2,1] } | ||
{ "m1.X": [1,1,3], "m1.Y": [3,2,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [3,2,1] } | ||
{ "m1.X": [3,3,3], "m1.Y": [3,1,2] } | ||
{ "m1.X": [1,3,3], "m1.Y": [3,1,2] } | ||
{ "m1.X": [3,1,3], "m1.Y": [3,1,2] } | ||
{ "m1.X": [3,3,1], "m1.Y": [3,1,2] } | ||
{ "m1.X": [1,3,1], "m1.Y": [3,1,2] } | ||
{ "m1.X": [3,1,1], "m1.Y": [3,1,2] } | ||
{ "m1.X": [1,1,3], "m1.Y": [3,1,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [3,1,2] } | ||
{ "m1.X": [3,3,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,3,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,1,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,3,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,3,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,1,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,1,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,3,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,3,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,3,2] } | ||
;; | ||
{ "m1.X": [3,3,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,2,3] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,2,3] } | ||
{ "m1.X": [3,3,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,3,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,1,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,3,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,3,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,1,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,1,3], "m1.Y": [2,1,3] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,1,3] } | ||
{ "m1.X": [3,3,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,3,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [1,3,2] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(deflookup test (m1.Y) (m1.Z)) | ||
(module m1) | ||
(defalias Z X) | ||
(defcolumns X Y) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ "m1.X": [1], "m1.Y": [2] } | ||
;; | ||
{ "m1.X": [1,2], "m1.Y": [1,1] } | ||
{ "m1.X": [2,1], "m1.Y": [1,1] } | ||
{ "m1.X": [2,2], "m1.Y": [1,1] } | ||
;; | ||
{ "m1.X": [1,2], "m1.Y": [1,3] } | ||
{ "m1.X": [1,2], "m1.Y": [3,1] } | ||
{ "m1.X": [1,2], "m1.Y": [1,1] } | ||
{ "m1.X": [2,1], "m1.Y": [1,1] } | ||
{ "m1.X": [2,1], "m1.Y": [1,3] } | ||
{ "m1.X": [2,1], "m1.Y": [3,1] } | ||
{ "m1.X": [2,2], "m1.Y": [1,3] } | ||
{ "m1.X": [2,2], "m1.Y": [3,1] } | ||
;; | ||
{ "m1.X": [3,3,3], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,2,1] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,2,1] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,2,1] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,2,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,2,3] } | ||
{ "m1.X": [1,1,1], "m1.Y": [3,2,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,3,2] } | ||
{ "m1.X": [3,3,3], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,3,3], "m1.Y": [1,1,2] } | ||
{ "m1.X": [3,1,3], "m1.Y": [1,1,2] } | ||
{ "m1.X": [3,3,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,3,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [3,1,1], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,1,3], "m1.Y": [1,1,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,2,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [3,2,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,3,2] } | ||
{ "m1.X": [1,1,1], "m1.Y": [2,2,3] } |