@@ -188,11 +188,11 @@ qualified function name.
188188## Auto-bound variables
189189
190190```lean broken
191- set autoImplicit false in
191+ set_option relaxedAutoImplicit false in
192192def thisBreaks (x : α₁) (y : size₁) := ()
193193
194- set relaxedAutoImplicit false in
195- def thisBreaks (x : α₂) (y : size₂) := ()
194+ set_option autoImplicit false in
195+ def thisAlsoBreaks (x : α₂) (y : size₂) := ()
196196```
197197```output
198198Unknown identifier `size₁`
@@ -206,18 +206,18 @@ Unknown identifier `size₂`
206206Note: It is not possible to treat `size₂` as an implicitly bound variable here because the `autoImplicit` option is set to `false`.
207207```
208208```lean fixed (title := "Fixed (modifying options)")
209- set autoImplicit true in
210- def thisBreaks (x : α₁) (y : size₁) := ()
209+ set_option relaxedAutoImplicit true in
210+ def thisWorks (x : α₁) (y : size₁) := ()
211211
212- set relaxedAutoImplicit true in
213- def thisBreaks (x : α₂) (y : size₂) := ()
212+ set_option autoImplicit true in
213+ def thisAlsoWorks (x : α₂) (y : size₂) := ()
214214```
215215```lean fixed (title := "Fixed (add implicit bindings for the unknown identifiers)")
216- set autoImplicit false in
217- def thisBreaks {size₁} (x : α₁) (y : size₁) := ()
216+ set_option relaxedAutoImplicit false in
217+ def thisWorks {size₁} (x : α₁) (y : size₁) := ()
218218
219- set relaxedAutoImplicit false in
220- def thisBreaks {α₂ size₂} (x : α₂) (y : size₂) := ()
219+ set_option autoImplicit false in
220+ def thisAlsoWorks {α₂ size₂} (x : α₂) (y : size₂) := ()
221221```
222222
223223Lean's default behavior, when it encounters an identifier it can't identify in the type of a
0 commit comments