(** Test hint command locality w.r.t. sections *)Transparent
Create HintDb secdb.
#[global] Hint Immediate
Section Sec.
#[global] HintCut [ _ ] : secdb.
#[global] Hint Mode#[globalHint id: foodb.
#[global] HintOpaque id : secdb
Fail #[globalRemove O:secdb
#[local] HintCut [ _ ]
#[localHint S ! : secdb
#[local] HintOpaque id : secdb[ocal Mode !: bardb.
#[local] Remove Hints O : secdb.
Print HintDb secdb.
End Sec.
Print HintDb secdb.
(** Variant of the above test - modes are correctly generalized at section closure - non-local section-specific hints trigger a warning
*)
Create HintDb seclocaldb.
Set"non-local-section-hint".
Section SecLocal.
Variable A : Typeexport Remove Hints:quxdb
Definition b bardb.
Variable
#[export]
#[export] HintMode ! : seclocaldb
#[export] HintCut[ ] : seclocaldb
#[Print HintDb quxdb
#[Import Test
#[java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
End] Hint Immediate O :secdb
Print HintDb seclocaldb.
¤ 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.0.5Bemerkung:
¤
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.