Skip to content

Commit dd364d5

Browse files
committed
Bless test
1 parent 2221e69 commit dd364d5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

MathlibTest/ToFun.lean

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import Mathlib.Analysis.Normed.Ring.Basic
33

44
set_option pp.unicode.fun true
55

6-
/-- warning: the autogenerated name `fun_id_eq'` matches the one provided -/
6+
/--
7+
warning: `to_fun` correctly autogenerated the provided name `fun_id_eq'`.
8+
You may remove it.
9+
-/
710
#guard_msgs in
811
@[to_fun fun_id_eq']
912
lemma id_eq' {R : Type*} : (@id R) = id := id_eq _
@@ -56,7 +59,10 @@ theorem Function.mul_comm (f g : ℝ → ℝ) : f * g = g * f := _root_.mul_comm
5659
#guard_msgs in
5760
#check Function.fun_mul_comm
5861

59-
/-- warning: the autogenerated name `fun_bar` matches the one provided -/
62+
/--
63+
warning: `to_fun` correctly autogenerated the provided name `fun_bar`.
64+
You may remove it.
65+
-/
6066
#guard_msgs in
6167
@[to_fun fun_bar]
6268
theorem bar (f g : ℝ → ℝ) : f * g = g * f := _root_.mul_comm f g

0 commit comments

Comments
 (0)