File tree Expand file tree Collapse file tree
MathlibTest/DifferentialGeometry Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -547,38 +547,33 @@ section error
547547-- yields a parse error, "unexpected token '/--'; expected term"
548548-- #check CMDiffAt[ s ] f
549549
550- /--
550+ -- TODO: the old error message here was better; somehow restore it!
551+ /-
551552error: Type mismatch
552553 f
553554has type
554555 M → M'
555556of sort `Type (max u_10 u_4)` but is expected to have type
556557 WithTop ℕ∞
557558of sort `Type`
558- ---
559+ -/
560+
561+ /--
559562error: Expected
560563 m
561564of type
562565 M
563- to be a function
566+ to be a function, or to be coercible to a function
564567-/
565568#guard_msgs in
566569#check CMDiffAt[s] f m
567570
568571/--
569- error: Type mismatch
570- f
571- has type
572- M → M'
573- of sort `Type (max u_10 u_4)` but is expected to have type
574- WithTop ℕ∞
575- of sort `Type`
576- ---
577572error: Expected
578573 m
579574of type
580575 M
581- to be a function
576+ to be a function, or to be coercible to a function
582577-/
583578#guard_msgs in
584579#check CMDiffAt[s] f m
You can’t perform that action at this time.
0 commit comments