Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/MathlibTest/Linter/InternalConstructor/     Datei vom 15.10.2026 mit Größe 599 B image not shown  

Quelle  Target.lean   Sprache: Lean

 

module

import Mathlib.Init
import MathlibTest.Linter.InternalConstructor.Source

/--
@ +1:16...19
error: `Foo._mkInternal` is an internal constructor and should not be used directly.

Note: This linter can be disabled with `set_option linter.internalConstructors false`
-/

#guard_msgs (positions := true) in
def e₁ : Foo := ⟨4⟩

/--
@ +1:16...31
error: `Foo._mkInternal` is an internal constructor and should not be used directly.

Note: This linter can be disabled with `set_option linter.internalConstructors false`
-/

#guard_msgs (positions := true) in
def e₂ : Foo := Foo._mkInternal 4

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.8 Sekunden  ¤

*© Formatika GbR, Deutschland