Idris-dev/test/reg065
David Raymond Christiansen 9d295be047 Fix dictionary arguments in dependent type class methods
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.
2015-05-20 11:23:03 +02:00
..
expected Fix dictionary arguments in dependent type class methods 2015-05-20 11:23:03 +02:00
reg065.idr Fix dictionary arguments in dependent type class methods 2015-05-20 11:23:03 +02:00
run Fix dictionary arguments in dependent type class methods 2015-05-20 11:23:03 +02:00