Skip to content

Commit

Permalink
Merge pull request #342 from xzyfer/feat/issue-1133
Browse files Browse the repository at this point in the history
Add specs for issue 1133
  • Loading branch information
xzyfer committed Apr 25, 2015
2 parents a7fa06b + 7c01070 commit 828fe20
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a { this: is; my: map; }

b { this: is; my: map; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a{this:is;my:map}b{this:is;my:map}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a {
this: is;
my: map;
}

b {
this: is;
my: map;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
a {
this: is;
my: map; }

b {
this: is;
my: map; }
17 changes: 17 additions & 0 deletions spec/libsass-todo-issues/issue_1133/normal/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@function foo($map) {
@return $map;
}

a {
$map: foo((this: is, my: map));
@each $k, $v in $map {
#{$k}: $v;
}
}

b {
$map: call("foo", (this: is, my: map));
@each $k, $v in $map {
#{$k}: $v;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
a { this: is; my: map; }

b { this: is; my: map; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a{this:is;my:map}b{this:is;my:map}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
a {
this: is;
my: map;
}

b {
this: is;
my: map;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
a {
this: is;
my: map; }

b {
this: is;
my: map; }
17 changes: 17 additions & 0 deletions spec/libsass-todo-issues/issue_1133/vararg/input.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@function foo($this, $my) {
@return (this: $this, my: $my);
}

a {
$map: foo((this: is, my: map)...);
@each $k, $v in $map {
#{$k}: $v;
}
}

b {
$map: call("foo", (this: is, my: map)...);
@each $k, $v in $map {
#{$k}: $v;
}
}

0 comments on commit 828fe20

Please sign in to comment.