Skip to content

Custom Functions do not supported mapped arguments #708

@outclassed

Description

@outclassed

Hi,

I have been unable to get libsass to call custom c funcs with the correct argument order specified by the sass signature when the sass code has the arguments in a different order.

Ie signature:
sprite-map($glob, $spacing: 0px)

Sass Code:
$aritymap: sprite-map($spacing: 0px, $glob: "*.png");

Expected returned Union Sass Value:
[$glob, $spacing]

Actual returned Union Sass Value:
[$spacing, $glob]

Anything I am doing wrong on my side or is this a bug?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions