Skip to content

arguments arity mismatch cause functions to be ignored #3

Description

@jxson

If I have a function defined:

function leading(size) {
// ...
}

And I call it from css with:

body {
margin-left: leading();
}

It gets rendered as:

body {
margin-left: leading();
}

Is this intentional or a bug? I expected that the function should still be invoked with no arguments and render the output appropriately. Calling it with the right number of arguments does the right thing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions