Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProB Rodin Plugin
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
ProB Rodin Plugin
Commits
3d817e56
Commit
3d817e56
authored
1 year ago
by
Michael Leuschel
Browse files
Options
Downloads
Patches
Plain Diff
try fix export of inductive datatype definitions
Signed-off-by:
Michael Leuschel
<
leuschel@uni-duesseldorf.de
>
parent
b501d2a8
No related branches found
No related tags found
No related merge requests found
Pipeline
#129057
failed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
de.prob.core/src/de/prob/eventb/translator/Theories.java
+10
-2
10 additions, 2 deletions
de.prob.core/src/de/prob/eventb/translator/Theories.java
with
11 additions
and
3 deletions
README.md
+
1
−
1
View file @
3d817e56
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
## License
## License
The ProB source code is distributed under the
[
EPL 1.0 license
](
https://www.eclipse.org/org/documents/epl-v10.html
)
.
The ProB source code is distributed under the
[
EPL 1.0 license
](
https://www.eclipse.org/org/documents/epl-v10.html
)
.
(C) 2000-202
1
Michael Leuschel and many others.
(C) 2000-202
4
Michael Leuschel and many others.
For updates please visit the ProB website: https://prob.hhu.de/w/
For updates please visit the ProB website: https://prob.hhu.de/w/
...
...
This diff is collapsed.
Click to expand it.
de.prob.core/src/de/prob/eventb/translator/Theories.java
+
10
−
2
View file @
3d817e56
...
@@ -430,8 +430,16 @@ public class Theories {
...
@@ -430,8 +430,16 @@ public class Theories {
final
IPrologTermOutput
pto
)
throws
CoreException
{
final
IPrologTermOutput
pto
)
throws
CoreException
{
pto
.
openTerm
(
functor
);
pto
.
openTerm
(
functor
);
pto
.
printAtom
(
id
.
getIdentifierString
());
pto
.
printAtom
(
id
.
getIdentifierString
());
try
{
Type
type
=
id
.
getType
(
ff
);
Type
type
=
id
.
getType
(
ff
);
printType
(
type
,
pto
);
printType
(
type
,
pto
);
}
catch
(
CoreException
e
)
{
// the the checked theory files tcf no longer contain the type paras
// the tuf file may contain org.eventb.theory.core.type="Baum(L)"
// the tcf file now contains org.eventb.theory.core.type="Baum"
// as one cannot adapt the type parameters inside an inductive type definition
pto
.
printAtom
(
"default_type_parameters"
)
}
pto
.
closeTerm
();
pto
.
closeTerm
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment