1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#[path = "tests/array_unique.rs"]
mod array_unique;
#[path = "tests/builtins.rs"]
mod builtins;
#[path = "tests/callable_surface.rs"]
mod callable_surface;
#[path = "tests/catalog_lowering.rs"]
mod catalog_lowering;
#[path = "tests/compiler_semantics.rs"]
mod compiler_semantics;
#[path = "tests/compression.rs"]
mod compression;
#[path = "tests/conditionals.rs"]
mod conditionals;
#[path = "tests/control_flow.rs"]
mod control_flow;
#[path = "tests/diagnostic_frontiers.rs"]
mod diagnostic_frontiers;
#[path = "tests/dictionary_lowering.rs"]
mod dictionary_lowering;
#[path = "tests/directive_lowering.rs"]
mod directive_lowering;
#[path = "tests/enum_members.rs"]
mod enum_members;
#[path = "tests/frontend_diagnostics.rs"]
mod frontend_diagnostics;
#[path = "tests/higher_order.rs"]
mod higher_order;
#[path = "tests/hud.rs"]
mod hud;
#[path = "tests/hud_visibility.rs"]
mod hud_visibility;
#[path = "tests/indexed_assignments.rs"]
mod indexed_assignments;
#[path = "tests/locale.rs"]
mod locale;
#[path = "tests/macro_preprocessing.rs"]
mod macro_preprocessing;
#[path = "tests/member_angles.rs"]
mod member_angles;
#[path = "tests/member_values.rs"]
mod member_values;
#[path = "tests/numeric_settings.rs"]
mod numeric_settings;
#[path = "tests/postfix_assignments.rs"]
mod postfix_assignments;
#[path = "tests/preprocessing.rs"]
mod preprocessing;
#[path = "tests/primitive_lowering.rs"]
mod primitive_lowering;
#[path = "tests/project_loading.rs"]
mod project_loading;
#[path = "tests/project_preprocessing.rs"]
mod project_preprocessing;
#[path = "tests/range_bindings.rs"]
mod range_bindings;
#[path = "tests/resource_baseline.rs"]
mod resource_baseline;
#[path = "tests/semantic_diagnostics.rs"]
mod semantic_diagnostics;
#[path = "tests/settings_expressions.rs"]
mod settings_expressions;
#[path = "tests/string_continuations.rs"]
mod string_continuations;
#[path = "tests/string_literals.rs"]
mod string_literals;
#[path = "tests/string_modifiers.rs"]
mod string_modifiers;
#[path = "tests/structural_convergence.rs"]
mod structural_convergence;
#[path = "tests/syntax_lowering.rs"]
mod syntax_lowering;
#[path = "tests/translations.rs"]
mod translations;
#[path = "tests/variable_initializers.rs"]
mod variable_initializers;
#[path = "tests/wait_lowering.rs"]
mod wait_lowering;
use super::CompilationArtifact;
fn canonical_program(artifact: &CompilationArtifact) -> workshop_rs::Program {
artifact.wir.clone()
}