Skip to content
Browse files

[November] `is rw` should be `is copy`

Seems that nowadays, setting defaults makes paramters readonly despite
having an `is rw` trait. Whether this is correct or not is open for
debate. Marking with a '# RAKUDO' comment until we know more.
  • Loading branch information...
1 parent 590d5a7 commit 57a5c0e1ceab1e53711700f3bbb1249aa84ada3f @masak masak committed Nov 16, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/
3 lib/
@@ -50,7 +50,8 @@ class November does November::Session does November::Cache {
- method view_page($page is rw='Main_Page') {
+ # RAKUDO: Should `is rw` work with constant defaults? (It doesn't.)
+ method view_page($page is copy = 'Main_Page') {
$page .= subst('%20', '_', :g);
unless $.storage.wiki_page_exists($page) {

0 comments on commit 57a5c0e

Please sign in to comment.
Something went wrong with that request. Please try again.