mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
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:
commit
ee3c71dfe6
766 changed files with 20515 additions and 34868 deletions
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue