mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-30 13:12:53 +03:00
Resolving conflicts with master
This commit is contained in:
parent
94498179db
commit
a128d367ff
@ -43,15 +43,3 @@ pub struct AstSnapshotOptions {
|
|||||||
pub canonicalized: bool,
|
pub canonicalized: bool,
|
||||||
pub type_inferenced: bool,
|
pub type_inferenced: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for AstSnapshotOptions {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self {
|
|
||||||
spans_enabled: false,
|
|
||||||
initial: false,
|
|
||||||
imports_resolved: false,
|
|
||||||
canonicalized: false,
|
|
||||||
type_inferenced: false,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -57,22 +57,6 @@ pub struct BuildOptions {
|
|||||||
pub enable_type_inferenced_ast_snapshot: bool,
|
pub enable_type_inferenced_ast_snapshot: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for BuildOptions {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self {
|
|
||||||
disable_constant_folding: false,
|
|
||||||
disable_code_elimination: false,
|
|
||||||
disable_all_optimizations: false,
|
|
||||||
enable_spans: false,
|
|
||||||
enable_all_ast_snapshots: false,
|
|
||||||
enable_initial_ast_snapshot: false,
|
|
||||||
enable_imports_resolved_ast_snapshot: false,
|
|
||||||
enable_canonicalized_ast_snapshot: false,
|
|
||||||
enable_type_inferenced_ast_snapshot: false,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl From<BuildOptions> for CompilerOptions {
|
impl From<BuildOptions> for CompilerOptions {
|
||||||
fn from(options: BuildOptions) -> Self {
|
fn from(options: BuildOptions) -> Self {
|
||||||
if options.disable_all_optimizations {
|
if options.disable_all_optimizations {
|
||||||
|
Loading…
Reference in New Issue
Block a user