This commit is contained in:
Folkert 2022-04-20 18:05:06 +02:00
parent 0267963e14
commit ec43d7d770
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
use crate::env::Env;
use crate::scope::Scope;
use roc_collections::{ImMap, MutMap, MutSet, SendMap, VecMap, VecSet};
use roc_collections::{ImMap, MutSet, SendMap, VecMap, VecSet};
use roc_module::ident::{Ident, Lowercase, TagName};
use roc_module::symbol::{IdentIds, ModuleId, Symbol};
use roc_parse::ast::{AssignedField, ExtractSpaces, Pattern, Tag, TypeAnnotation, TypeHeader};

View file

@ -97,6 +97,7 @@ enum PendingTypeDef<'a> {
/// An invalid alias, that is ignored in the rest of the pipeline
/// e.g. a shadowed alias, or a definition like `MyAlias 1 : Int`
/// with an incorrect pattern
#[allow(dead_code)]
InvalidAlias { kind: AliasKind },
/// An invalid ability, that is ignored in the rest of the pipeline.

View file

@ -1110,7 +1110,7 @@ pub fn load<'a>(
) -> Result<LoadResult<'a>, LoadingProblem<'a>> {
// When compiling to wasm, we cannot spawn extra threads
// so we have a single-threaded implementation
if true || cfg!(target_family = "wasm") {
if cfg!(target_family = "wasm") {
load_single_threaded(
arena,
load_start,