Skip to content

Instantly share code, notes, and snippets.

Created August 22, 2015 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8bee82105f07e7613197 to your computer and use it in GitHub Desktop.
Save anonymous/8bee82105f07e7613197 to your computer and use it in GitHub Desktop.
$ git diff
diff --git a/lib/Pray/Geometry/Matrix3D.pm6 b/lib/Pray/Geometry/Matrix3D.pm6
index 0f8e6d3..c35b6c0 100644
--- a/lib/Pray/Geometry/Matrix3D.pm6
+++ b/lib/Pray/Geometry/Matrix3D.pm6
@@ -10,7 +10,7 @@ multi sub m3d (@values) is export {
$?CLASS.new( values => @values )
}
-multi sub m3d (*@values) is export {
+multi sub m3d (**@values) is export {
$?CLASS.new( values => @values )
}
diff --git a/lib/Pray/Output.pm6 b/lib/Pray/Output.pm6
index dcd8b1d..bbfad52 100644
--- a/lib/Pray/Output.pm6
+++ b/lib/Pray/Output.pm6
@@ -174,7 +174,7 @@ method get ($x, $y) {
method preview (Bool :$force = False) {
if @!dirty >= $!preview-every or $force {
- for @!dirty.unique(:with(&infix:<eqv>)) -> [$x, $y] {
+ for @!dirty.unique(:with(&infix:<eqv>)) -> $x, $y {
self.update_preview($x, $y);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment