- Timestamp:
- 10/17/06 08:26:58 (2 years ago)
- svk:copy_cache_prev:
- 21206
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r14378 r14379 152 152 * `1<2>` is now a fatal error: Odd numbers of elements in Hash 153 153 * List comprehension: `for 0 < list(@x) < 10 {...}` 154 * `$::x` now means exactly the same a `$x`, instead of `$*x` 154 155 155 156 === Declarators and Operators … … 163 164 * Mid-block redeclaration no longer allowed: `my $x; { $x = 1; my $x = 2 }` 164 165 * Smart matching against implicit invocation: `$obj ~~ .meth`, `$obj ~~ .[0]` 166 * Short-circuiting chained comparison: `1 > 2 > die('foo')` no longer dies 165 167 166 168 === Blocks and Statements … … 193 195 * `sub f ($x is lazy) {...}` no longer evaluates $x more than once 194 196 * `sub ($x = 0 is copy)` no longer allowed; say `sub ($x is copy = 0)` instead 197 * Named arguments with no matching parameters is now an error 198 * New `&sub.call($capture)` syntax to call without a caller frame 195 199 196 200 === Classes and Objects … … 203 207 * Role mixins: `role R {...} class C does R {...}` 204 208 * Circular mixin is no longer allowed: `role A does A` 209 * Reopening classes: `class C is also {...}` 205 210 206 211 === Built-in Primitives … … 212 217 * Support for `%b` in formatted printing 213 218 * The `.perl` method now returns Unicode strings 219 * The `&system` function no longer dies when the command does not exist 214 220 215 221 --- >8 --- >8 --- >8 --- >8 --- >8 --- >8 --- >8 --- >8 --- >8 --- >8 --- … … 225 231 as YAML 226 232 * Implemented staleness checking for .yml/.pm loader 227 * Allow $::x to mean exactly the same as $x228 233 * Pugs.Parser: $() now means $$/, @() means @$/, %() means %$/, etc 229 234 * Added identity values for the builtin reduceable operators from S03 … … 240 245 f(y => 1); # used to bind silently, but now no more 241 246 * Primitive support for =@Array on both contexts 242 * Remove Judy from the Pugs build process243 * Make system() nonfatal always; instead it merely sets $!244 247 245 248 == Bug Fixes … … 253 256 (@::("foo")) 254 257 now all parses correctly without needing a whitespace 255 * Repaired quantified method calls with .*$method by treating256 .* always as quantifier and never as globalizer257 * Parse for "class Foo is also {...}" instead of having Foo258 inherit from ::also259 * Implement &sub.call(\(...capture...)) correctly260 258 * Pugs.Parser: Parse for 261 259 repeat { 262 260 } 263 261 while 1; 264 * Switch chained comparison such as "1 > 2 > die('not reached')265 to use "is lazy" parameters, so they can short-circuit properly266 267 262 == Perl 6 on Perl 5 (under [misc/pX/Common/]) 268 263
