Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make Mu.new a multi method.

  • Loading branch information...
commit 5e252093ce7d166308e5769ac6950c11f2e1d28b 1 parent 02206bd
Solomon Foster colomon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/CORE.setting
2  lib/CORE.setting
View
@@ -278,7 +278,7 @@ my class Mu {
method not() { !self }
method bless($, *%_) { Q:CgOp { (default_new (@ {self}) (unbox varhash (@ {%_}))) } }
method CREATE() { Q:CgOp { (obj_newblank (obj_llhow (@ {self}))) } }
- method new(*%_) { Q:CgOp { (default_new (@ {self}) (unbox varhash (@ {%_}))) } }
+ multi method new(*%_) { Q:CgOp { (default_new (@ {self}) (unbox varhash (@ {%_}))) } }
method clone(*%_) { Q:CgOp { (repr_clone (@ {self}) (unbox varhash (@ {%_}))) } }
method dispatch:<::>(|) { Q:CgOp { (dispatch_fromtype) } }
method immutable() { !defined(self) }
Please sign in to comment.
Something went wrong with that request. Please try again.