Skip to content

Commit

Permalink
Ayaz's fix and first passing inspect test
Browse files Browse the repository at this point in the history
  • Loading branch information
bhansconnect committed Nov 28, 2023
1 parent d478ec5 commit 5276720
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions crates/compiler/builtins/roc/Inspect.roc
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ dbgBool : Bool -> Inspector DbgFormatter
dbgBool = \b ->
if b then
f0 <- custom
dbgWrite f0 "true"
dbgWrite f0 "Bool.true"
else
f0 <- custom
dbgWrite f0 "false"
dbgWrite f0 "Bool.false"

dbgStr : Str -> Inspector DbgFormatter
dbgStr = \s ->
Expand Down
5 changes: 1 addition & 4 deletions crates/compiler/solve/src/ability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1504,10 +1504,7 @@ impl AbilityResolver for AbilitiesStore {
/// because they do not explicitly list ability implementations due to circular dependencies.
#[inline]
pub(crate) fn builtin_module_with_unlisted_ability_impl(module_id: ModuleId) -> bool {
matches!(
module_id,
ModuleId::NUM | ModuleId::BOOL | ModuleId::INSPECT
)
matches!(module_id, ModuleId::NUM | ModuleId::BOOL)
}

#[derive(Debug)]
Expand Down

0 comments on commit 5276720

Please sign in to comment.