Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bool.Int, run tests
  • Loading branch information
moritz committed Jul 7, 2011
1 parent 5c39eca commit 1dc9308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/Bool.pm
Expand Up @@ -6,6 +6,7 @@ my class Bool {
}

method Numeric() { self ?? 1 !! 0 }
method Int() { self ?? 1 !! 0 }

method pred() { Bool::False }

Expand Down
2 changes: 1 addition & 1 deletion t/spectest.data
Expand Up @@ -26,7 +26,7 @@ S02-builtin_data_types/array_ref.t
S02-builtin_data_types/array.t
# S02-builtin_data_types/assigning-refs.t
# S02-builtin_data_types/autovivification.t
# S02-builtin_data_types/bool.t # need Bool::True and Bool::False
S02-builtin_data_types/bool.t
# S02-builtin_data_types/capture.t
S02-builtin_data_types/catch_type_cast_mismatch.t
# S02-builtin_data_types/declare.t
Expand Down

0 comments on commit 1dc9308

Please sign in to comment.