We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0a99f commit b65f92dCopy full SHA for b65f92d
src/Lean/Linter/Coe.lean
@@ -33,7 +33,7 @@ def shouldWarnOnDeprecatedCoercions [Monad m] [MonadOptions m] : m Bool :=
33
return (← getOptions).get linter.deprecatedCoercions.name true
34
35
/-- A list of coercion names that must not be used in core. -/
36
-def coercionsBannedInCore : List Name := [``optionCoe, ``instCoeSubarrayArray]
+def coercionsBannedInCore : Array Name := #[``optionCoe, ``instCoeSubarrayArray]
37
38
/-- Validates that no coercions are used that are either deprecated or are banned in core. -/
39
def coeLinter : Linter where
0 commit comments