Move desugaring to new roc_can_solo crate

This commit is contained in:
Sam Mohr 2025-01-19 07:16:43 -08:00
parent b183ba19ae
commit fce14d31b0
No known key found for this signature in database
GPG key ID: EA41D161A3C1BC99
72 changed files with 3294 additions and 2630 deletions

View file

@ -12,6 +12,7 @@ use std::collections::hash_map::Entry;
pub enum Phase {
LoadHeader,
Parse,
SoloCanonicalize,
CanonicalizeAndConstrain,
SolveTypes,
FindSpecializations,
@ -19,9 +20,10 @@ pub enum Phase {
}
/// NOTE keep up to date manually, from ParseAndGenerateConstraints to the highest phase we support
const PHASES: [Phase; 6] = [
const PHASES: [Phase; 7] = [
Phase::LoadHeader,
Phase::Parse,
Phase::SoloCanonicalize,
Phase::CanonicalizeAndConstrain,
Phase::SolveTypes,
Phase::FindSpecializations,