Merge branch 'main' into ayaz/error-on-invalid-generalized-types

Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
This commit is contained in:
Ayaz 2025-01-10 14:36:48 -05:00 committed by GitHub
commit ee3c71dfe6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
766 changed files with 20515 additions and 34868 deletions

View file

@ -25,7 +25,6 @@ const MODULES: &[(ModuleId, &str)] = &[
(ModuleId::DECODE, "Decode.roc"),
(ModuleId::HASH, "Hash.roc"),
(ModuleId::INSPECT, "Inspect.roc"),
(ModuleId::TASK, "Task.roc"),
];
fn main() {

View file

@ -256,7 +256,6 @@ fn read_cached_types() -> MutMap<ModuleId, TypeState> {
let mod_decode = include_bytes_align_as!(u128, concat!(env!("OUT_DIR"), "/Decode.dat"));
let mod_hash = include_bytes_align_as!(u128, concat!(env!("OUT_DIR"), "/Hash.dat"));
let mod_inspect = include_bytes_align_as!(u128, concat!(env!("OUT_DIR"), "/Inspect.dat"));
let mod_task = include_bytes_align_as!(u128, concat!(env!("OUT_DIR"), "/Task.dat"));
let mut output = MutMap::default();
@ -280,8 +279,6 @@ fn read_cached_types() -> MutMap<ModuleId, TypeState> {
output.insert(ModuleId::HASH, deserialize_help(mod_hash));
output.insert(ModuleId::INSPECT, deserialize_help(mod_inspect));
output.insert(ModuleId::TASK, deserialize_help(mod_task));
}
output

View file

@ -178,7 +178,6 @@ pub fn can_expr_with<'a>(
&dep_idents,
&module_ids,
None,
roc_can::env::FxMode::PurityInference,
);
// Desugar operators (convert them to Apply calls, taking into account
@ -206,7 +205,6 @@ pub fn can_expr_with<'a>(
&dep_idents,
&module_ids,
None,
roc_can::env::FxMode::PurityInference,
);
let (loc_expr, output) = canonicalize_expr(
&mut env,

View file

@ -3,7 +3,7 @@ platform "test-platform"
exposes []
packages {}
imports []
provides [mainForHost]
provides [main_for_host]
mainForHost : {} -> {}
mainForHost = \{} -> {}
main_for_host : {} -> {}
main_for_host = \{} -> {}

File diff suppressed because it is too large Load diff