Permalink
Browse files

Uncomment Date.day-of-year. We now pass S32-temporal/calendar.t; trac…

…k failure reasons
  • Loading branch information...
1 parent a48a985 commit b9523725b665bd5746e42cfb12c187e31244d0fb @tadzik tadzik committed Sep 18, 2011
Showing with 7 additions and 7 deletions.
  1. +3 −3 src/core/Temporal.pm
  2. +4 −4 t/spectest.data
@@ -85,9 +85,9 @@ my role Dateish {
($.day - 1) div 7 + 1
}
-# method day-of-year() {
-# [+] $.day, map { self.days-in-month($.year, $^m) }, 1 ..^ $.month
-# }
+ method day-of-year() {
+ [+] $.day, map { self.days-in-month($.year, $^m) }, 1 ..^ $.month
+ }
method check-value($val is copy, $name, $range, :$allow-nonint) {
$val = $allow-nonint ?? +$val !! $val.Int;
View
@@ -565,11 +565,11 @@ S32-str/uc.t # icu
S32-str/ucfirst.t # icu
# S32-str/unpack.t # err: Default constructor only takes named arguments
S32-str/words.t # icu
-# S32-temporal/calendar.t # err: Method 'truncated-to' not found for invocant of class 'Date'
+S32-temporal/calendar.t
S32-temporal/Date.t
-# S32-temporal/DateTime.t # err: Default constructor only takes named arguments
-# S32-temporal/DateTime-Instant-Duration.t # err: Method 'Instant' not found for invocant of class 'DateTime'
-# S32-temporal/local.t # err: Method 'now' not found for invocant of class 'DateTime'
+# S32-temporal/DateTime.t # err: duplicate named argument in call
+# S32-temporal/DateTime-Instant-Duration.t # err: duplicate named argument in call
+# S32-temporal/local.t # err: FixedIntegerArray: index out of bounds!
S32-trig/e.t
S32-trig/pi.t
S32-trig/sin.t

0 comments on commit b952372

Please sign in to comment.