A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sass/libsass/issues/672 below:

keywords($args) does not default to empty map · Issue #672 · sass/libsass · GitHub

When passing non-keyword-arguments keyword function trows
Error: basic_string::basic_string rather than creating an empty map


@mixin mixin($arglist...){
    $map: keywords($arglist);
}

.test {
    // As expected 
    // $map: (width: 200px, height: 100px);  
   @include mixin( $width: 200px, $height: 100px);

   // As expected 
   // $map: ();
   @include mixin( );

    // Throws: "Error: basic_string::basic_string"
    // Expected $map: ();  
   @include mixin( not-keyword-format );
}









RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4