Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
e538b267
Commit
e538b267
authored
12 years ago
by
Régis Blanc
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem with lazy call to typeToSort
parent
da8dbc39
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/scala/leon/FairZ3Solver.scala
+1
-0
1 addition, 0 deletions
src/main/scala/leon/FairZ3Solver.scala
with
1 addition
and
0 deletions
src/main/scala/leon/FairZ3Solver.scala
+
1
−
0
View file @
e538b267
...
@@ -978,6 +978,7 @@ class FairZ3Solver(reporter: Reporter) extends Solver(reporter) with AbstractZ3S
...
@@ -978,6 +978,7 @@ class FairZ3Solver(reporter: Reporter) extends Solver(reporter) with AbstractZ3S
case
errorType
=>
scala
.
sys
.
error
(
"Unexpected type for singleton map: "
+
(
ex
,
errorType
))
case
errorType
=>
scala
.
sys
.
error
(
"Unexpected type for singleton map: "
+
(
ex
,
errorType
))
}
}
case
e
@
EmptyMap
(
fromType
,
toType
)
=>
{
case
e
@
EmptyMap
(
fromType
,
toType
)
=>
{
typeToSort
(
e
.
getType
)
//had to add this here because the mapRangeNoneConstructors was not yet constructed...
val
fromSort
=
typeToSort
(
fromType
)
val
fromSort
=
typeToSort
(
fromType
)
val
toSort
=
typeToSort
(
toType
)
val
toSort
=
typeToSort
(
toType
)
z3
.
mkConstArray
(
fromSort
,
mapRangeNoneConstructors
(
toType
)())
z3
.
mkConstArray
(
fromSort
,
mapRangeNoneConstructors
(
toType
)())
...
...
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