mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-21 22:17:19 +03:00
9d295be047
Type class methods references were previously elaborated using the ordinary function call elaboration, but their class isn't yet available when the method lookup function is elaborated. This leads to a "can't resolve type class" error on the type class definition. Now, they have an explicit dictionary argument inserted, pointing at the dictionary that's used for the type of the method whose signature they appear in. Fixes #2302. |
||
---|---|---|
.. | ||
expected | ||
reg065.idr | ||
run |