mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
dig into the lambda set to find more lambda sets
This commit is contained in:
parent
bedca00850
commit
53db40e2f4
2 changed files with 14 additions and 6 deletions
|
@ -117,11 +117,11 @@ pub enum ExecutionMode {
|
|||
|
||||
impl ExecutionMode {
|
||||
fn goal_phase(&self) -> Phase {
|
||||
use ExecutionMode::*;
|
||||
|
||||
match self {
|
||||
ExecutionMode::Executable => Phase::MakeSpecializations,
|
||||
ExecutionMode::Check | ExecutionMode::ExecutableIfCheck | ExecutionMode::Test => {
|
||||
Phase::SolveTypes
|
||||
}
|
||||
Executable => Phase::MakeSpecializations,
|
||||
Check | ExecutableIfCheck | Test => Phase::SolveTypes,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue