Skip to content

Commit

Permalink
Fix typo "immediatelly" → "immediately"
Browse files Browse the repository at this point in the history
  • Loading branch information
taboege committed Jul 1, 2018
1 parent ddf496c commit e2e4218
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Date.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ proto sub sleep($?, *%) {*}
multi sub sleep(--> Nil) { sleep(*) }
multi sub sleep($seconds --> Nil) {
# 1e9 seconds is a large enough value that still makes VMs sleep
# larger values cause nqp::sleep() to exit immediatelly (esp. on 32-bit)
# larger values cause nqp::sleep() to exit immediately (esp. on 32-bit)
if nqp::istype($seconds,Whatever) || $seconds == Inf {
nqp::sleep(1e9) while True;
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/Exception.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -2161,7 +2161,7 @@ my class X::ControlFlow::Return is X::ControlFlow {
method message() {
'Attempt to return outside of ' ~ (
$!out-of-dynamic-scope
?? 'immediatelly-enclosing Routine (i.e. `return` execution is'
?? 'immediately-enclosing Routine (i.e. `return` execution is'
~ ' outside the dynamic scope of the Routine where `return` was used)'
!! 'any Routine'
)
Expand Down

0 comments on commit e2e4218

Please sign in to comment.