Conversation
|
I stumbled across the following lines in Please revise the lines so that it uses robust markers and not origin. And maybe rewrite the code to be more readable... /cc @WolframPfeifer |
8375752 to
a0f28e7
Compare
Are there other markers to indicate that a taclet is user-defined? I had a quick look at the taclets in a debugger and could not spot other fields that would help. Alternatively the check could be removed. For the common case of using the same user-defined taclets in all proofs of the same session it does not matter. |
This differentiation does not make sense to me. There is nothing special whether Taclets were loaded b/c of the profile, or by an include in the If you want to find out whether a taclet proof-specific, you need to look up in the init configs.
What defines the identity of a Taclet? If the same Taclet (by syntax) is given in two proof files, is it the same Taclet? KeY copies the declaration header always, but does not copy included files. Also, equality by syntax is difficult, as Taclet options can deactivate goal templates. I see a conceptual hole. |
# Conflicts: # key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java # key.core/src/main/java/de/uka/ilkd/key/proof/init/ProblemInitializer.java # key.core/src/main/java/de/uka/ilkd/key/util/ExceptionTools.java # key.ui/src/main/resources/de/uka/ilkd/key/gui/help/functionExplanations.xml
Intended Change
Introduces
MetaSpacein alignment withNamespace<T>. AMetaSpacecaptures the non-proof-relevant information of signature entities, i.e., documentation and origin.This makes the
ncoredefinitions simpler and enablesMetaSpaceto be shuttable for performance.The
MetaSpaceis filled by theDeclarationBuilder& Co using theDOC_COMMENTgiven in KeY files. Therefore, the description of some entities in XML becomes obsolete. The relevant descriptions were migrated. Now,InfoTreeshows every known function in the goal.Type of pull request
Ensuring quality