1<===> 1/of_1/input.scss 2a {b: nth(join((), c), 1)} 3 4<===> 1/of_1/output.css 5a { 6 b: c; 7} 8 9<===> 10================================================================================ 11<===> 1/of_2/input.scss 12a {b: nth(c d, 1)} 13 14<===> 1/of_2/output.css 15a { 16 b: c; 17} 18 19<===> 20================================================================================ 21<===> 2/of_2/input.scss 22a {b: nth(c d, 2)} 23 24<===> 2/of_2/output.css 25a { 26 b: d; 27} 28 29<===> 30================================================================================ 31<===> 2/of_4/input.scss 32a {b: nth(c d e f, 2)} 33 34<===> 2/of_4/output.css 35a { 36 b: d; 37} 38 39<===> 40================================================================================ 41<===> negative/1/of_1/input.scss 42a {b: nth(join((), c), -1)} 43 44<===> negative/1/of_1/output.css 45a { 46 b: c; 47} 48 49<===> 50================================================================================ 51<===> negative/1/of_2/input.scss 52a {b: nth(c d, -1)} 53 54<===> negative/1/of_2/output.css 55a { 56 b: d; 57} 58 59<===> 60================================================================================ 61<===> negative/2/of_2/input.scss 62a {b: nth(c d, -2)} 63 64<===> negative/2/of_2/output.css 65a { 66 b: c; 67} 68 69<===> 70================================================================================ 71<===> negative/2/of_4/input.scss 72a {b: nth(c d e f, -2)} 73 74<===> negative/2/of_4/output.css 75a { 76 b: e; 77} 78 79<===> 80================================================================================ 81<===> map/input.scss 82a {b: nth((c: d, e: f, g: h), 2)} 83 84<===> map/output.css 85a { 86 b: e f; 87} 88 89<===> 90================================================================================ 91<===> non_list/input.scss 92a {b: nth(c, 1)} 93 94<===> non_list/output.css 95a { 96 b: c; 97} 98 99<===> 100================================================================================ 101<===> named/input.scss 102a {b: nth($list: c d, $n: 1)} 103 104<===> named/output.css 105a { 106 b: c; 107} 108 109<===> 110================================================================================ 111<===> error/type/input.scss 112a {b: nth(c d, e)} 113 114<===> error/type/error 115Error: $n: e is not a number. 116 , 1171 | a {b: nth(c d, e)} 118 | ^^^^^^^^^^^ 119 ' 120 input.scss 1:7 root stylesheet 121 122<===> error/type/error-libsass 123Error: argument `$n` of `nth($list, $n)` must be a number 124 on line 1:7 of input.scss, in function `nth` 125 from line 1:7 of input.scss 126>> a {b: nth(c d, e)} 127 128 ------^ 129 130<===> 131================================================================================ 132<===> error/index/0/input.scss 133a {b: nth(c d, 0)} 134 135<===> error/index/0/error 136Error: $n: List index may not be 0. 137 , 1381 | a {b: nth(c d, 0)} 139 | ^^^^^^^^^^^ 140 ' 141 input.scss 1:7 root stylesheet 142 143<===> error/index/0/error-libsass 144Error: argument `$n` of `nth($list, $n)` must be non-zero 145 on line 1:7 of input.scss, in function `nth` 146 from line 1:7 of input.scss 147>> a {b: nth(c d, 0)} 148 149 ------^ 150 151<===> 152================================================================================ 153<===> error/index/too_high/input.scss 154a {b: nth(c d, 3)} 155 156<===> error/index/too_high/error 157Error: $n: Invalid index 3 for a list with 2 elements. 158 , 1591 | a {b: nth(c d, 3)} 160 | ^^^^^^^^^^^ 161 ' 162 input.scss 1:7 root stylesheet 163 164<===> error/index/too_high/error-libsass 165Error: index out of bounds for `nth($list, $n)` 166 on line 1:7 of input.scss, in function `nth` 167 from line 1:7 of input.scss 168>> a {b: nth(c d, 3)} 169 170 ------^ 171 172<===> 173================================================================================ 174<===> error/index/too_low/input.scss 175a {b: nth(c d, -3)} 176 177<===> error/index/too_low/error 178Error: $n: Invalid index -3 for a list with 2 elements. 179 , 1801 | a {b: nth(c d, -3)} 181 | ^^^^^^^^^^^^ 182 ' 183 input.scss 1:7 root stylesheet 184 185<===> error/index/too_low/error-libsass 186Error: index out of bounds for `nth($list, $n)` 187 on line 1:7 of input.scss, in function `nth` 188 from line 1:7 of input.scss 189>> a {b: nth(c d, -3)} 190 191 ------^ 192 193<===> 194================================================================================ 195<===> error/too_few_args/input.scss 196a {b: nth(c d)} 197 198<===> error/too_few_args/error 199Error: Missing argument $n. 200 ,--> input.scss 2011 | a {b: nth(c d)} 202 | ^^^^^^^^ invocation 203 ' 204 ,--> sass:list 2051 | @function nth($list, $n) { 206 | ============== declaration 207 ' 208 input.scss 1:7 root stylesheet 209 210<===> error/too_few_args/error-libsass 211Error: Function nth is missing argument $n. 212 on line 1 of input.scss 213>> a {b: nth(c d)} 214 215 ------^ 216 217<===> 218================================================================================ 219<===> error/too_many_args/input.scss 220a {b: nth(c d, 1, 2)} 221 222<===> error/too_many_args/error 223Error: Only 2 arguments allowed, but 3 were passed. 224 ,--> input.scss 2251 | a {b: nth(c d, 1, 2)} 226 | ^^^^^^^^^^^^^^ invocation 227 ' 228 ,--> sass:list 2291 | @function nth($list, $n) { 230 | ============== declaration 231 ' 232 input.scss 1:7 root stylesheet 233 234<===> error/too_many_args/error-libsass 235Error: wrong number of arguments (3 for 2) for `nth' 236 on line 1:7 of input.scss 237>> a {b: nth(c d, 1, 2)} 238 239 ------^ 240