chore: add ambiguity comment

This commit is contained in:
Leonardo de Moura 2019-11-07 18:36:42 -08:00
parent 19ec5cda13
commit 5d9f3f6fba

View file

@ -63,3 +63,7 @@ instance bad (K E : Type) [Field K] [VectorSpace K E] [CompleteSpace K] : Comple
-- Warning: argument #3 is a class that occurs in downstream arguments and not the return type.
-- You may want to replace [Field K] with {Field K} so typeclass resolution infers this instance after solving downstream instances.
-/
/-
The syntax `[Field K]` is ambiguous. It can be interpreted also as {Field K : _}. Note that we use this version all the time (e.g., {α β}).
-/