Skip to content

Commit b65f92d

Browse files
committed
use Array
1 parent af0a99f commit b65f92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Lean/Linter/Coe.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def shouldWarnOnDeprecatedCoercions [Monad m] [MonadOptions m] : m Bool :=
3333
return (← getOptions).get linter.deprecatedCoercions.name true
3434

3535
/-- A list of coercion names that must not be used in core. -/
36-
def coercionsBannedInCore : List Name := [``optionCoe, ``instCoeSubarrayArray]
36+
def coercionsBannedInCore : Array Name := #[``optionCoe, ``instCoeSubarrayArray]
3737

3838
/-- Validates that no coercions are used that are either deprecated or are banned in core. -/
3939
def coeLinter : Linter where

0 commit comments

Comments
 (0)