Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Roqc/test-suite/bugs/   (Beweissystem des Inria Version 9.1.0©)  Datei vom 15.8.2025 mit Größe 800 B image not shown  

Quelle  bug_14652.v   Sprache: Coq

 
Record myRecord := {
  my_class : Type ;
}.

Fail #[exportInstance my_instance : forall x, my_class x.

Existing Class my_class.

#[exportInstance my_instance : forall x, my_class x. Abort.

Definition my_existing_instance : forall x, my_class x. Admitted.

#[export]
Existing Instance my_existing_instance.

Set Primitive Projections.

Record myOtherRecord := {
  my_other_class : Type ;
}.

Fail #[exportInstance my_other_instance : forall x, my_other_class x.

Existing Class my_other_class.

#[exportInstance my_other_instance : forall x, my_other_class x. Abort.

Definition my_other_existing_instance : forall x, my_other_class x. Admitted.

(* ??? *)
(* Used to be: Constant does not build instances of a declared type class. *)
#[export]
Existing Instance my_other_existing_instance.

99%


¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung ist noch experimentell.