Jeroen Engels
b125d5049c
Fix module name lookup table giving a wrong result
...
Let destructuring variables that shadowed imports were not correctly
registered, and looking them up could lead to incorrectly point to
the imported module that was shadowed.
Thanks @matzko for discovering this.
2024-04-09 20:17:02 +02:00
Jeroen Engels
929d8508fd
Fix let function arguments not registering with the correct module name
2023-06-17 19:49:41 +02:00
Jeroen Engels
84aae3b64b
Make test setup failure more helpful
2023-06-17 19:49:41 +02:00
Jeroen Engels
b4f11c5ddf
Fix ModuleNameLookupTable resolving to indirect dependencies ( #135 )
2022-08-23 17:09:29 +02:00
Jeroen Engels
70d430ae5c
Use qualified Rule.Error in examples
2022-06-21 17:43:44 +02:00
Jeroen Engels
3ff9098d30
Add fullModuleNameAt and fullModuleNameFor in ModuleNameLookupTable
2022-05-01 20:26:20 +02:00
SiriusStarr
2a8dbaf2a1
Add ModuleNameLookupTable support for operators ( #106 )
2021-10-03 11:03:00 +02:00
Jeroen Engels
f044f9cd1d
ModuleNameLookupTable: Add test to make sure that aliasing in patterns works
2020-12-06 14:30:39 +01:00
Jeroen Engels
ed1f40bbc3
Fix ModuleNameLookupTable not registering aliases from the prelude
2020-11-18 10:07:16 +01:00
Jeroen Engels
66f5375eaa
ModuleNameLookupTableTest: Add tests for function declarations handling
2020-09-23 10:38:39 +02:00
Jeroen Engels
82037d4e5b
ModuleNameLookupTableTest: Add signature texts
2020-09-23 10:30:47 +02:00
Jeroen Engels
efebce84d1
ModuleNameLookupTableTest: Refactor declaration visitor
2020-09-23 10:27:39 +02:00
Jeroen Engels
ccfcc99468
ModuleNameLookupTableTest: Add declaration visitor
2020-09-23 10:25:40 +02:00
Jeroen Engels
97c0e4abe9
Add test for handling pattern aliases
2020-09-23 10:21:35 +02:00
Jeroen Engels
c2488a06b0
Add failing test case for ModuleNameLookupTableTest
2020-09-23 10:12:19 +02:00
Jeroen Engels
80e4d87436
Use helper in declaration visitor
2020-09-22 19:08:17 +02:00
Jeroen Engels
75e535ce2a
Use helper in expression visitor
2020-09-22 19:06:45 +02:00
Jeroen Engels
4ad35edde3
Add helper for showing the real name
2020-09-22 19:03:43 +02:00
Jeroen Engels
01e2f66fc7
Rename test module
2020-09-22 19:01:02 +02:00