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
dafa42ad
Commit
dafa42ad
authored
8 years ago
by
Nicolas Voirol
Browse files
Options
Downloads
Patches
Plain Diff
Certain MainHelpers fields should be lazy
parent
7e3ac13c
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/inox/Main.scala
+2
-2
2 additions, 2 deletions
src/main/scala/inox/Main.scala
with
2 additions
and
2 deletions
src/main/scala/inox/Main.scala
+
2
−
2
View file @
dafa42ad
...
@@ -12,7 +12,7 @@ trait MainHelpers {
...
@@ -12,7 +12,7 @@ trait MainHelpers {
solvers
.
DebugSectionSolver
solvers
.
DebugSectionSolver
)
)
protected
final
val
debugSections
=
getDebugSections
protected
final
lazy
val
debugSections
=
getDebugSections
final
object
optDebug
extends
OptionDef
[
Set
[
DebugSection
]]
{
final
object
optDebug
extends
OptionDef
[
Set
[
DebugSection
]]
{
import
OptionParsers._
import
OptionParsers._
...
@@ -58,7 +58,7 @@ trait MainHelpers {
...
@@ -58,7 +58,7 @@ trait MainHelpers {
evaluators
.
optIgnoreContracts
->
"Don't fail on invalid contracts during evaluation"
evaluators
.
optIgnoreContracts
->
"Don't fail on invalid contracts during evaluation"
)
)
protected
final
val
options
=
getOptions
protected
final
lazy
val
options
=
getOptions
private
def
helpString
(
opt
:
OptionDef
[
_
])
:
String
=
{
private
def
helpString
(
opt
:
OptionDef
[
_
])
:
String
=
{
f
"${opt.usageDesc}%-28s"
+
options
(
opt
).
replaceAll
(
"\n"
,
"\n"
+
" "
*
28
)
f
"${opt.usageDesc}%-28s"
+
options
(
opt
).
replaceAll
(
"\n"
,
"\n"
+
" "
*
28
)
...
...
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