wz1000 / HieDb

Generates a references DB from .hie files
BSD 3-Clause "New" or "Revised" License
64 stars 24 forks source link

Add refs.is_generated to distinguish references from source/generated by ghc #78

Open jhrcek opened 3 months ago

jhrcek commented 3 months ago

3rd attempt at resolving constructor renaming bug in hls by storing NodeOrigin info as bool field in refs table.

This approach introduces extended version (TODO: move this to a more suitable place, potentially upstream to ghc)

Note: I'm adding explicit suffix 2 to the affected functions just to make it more obvious where these new functions would have to be used. I'm planning to remove that suffix for the final PR.

Refer to https://github.com/wz1000/HieDb/pull/77 for more details