2023-06-02 23:36:10 +02:00
|
|
|
{% compatibility 'dart: true', 'libsass: "3.5.0"', 'ruby: "3.5.0"', 'feature: "Argument Type"' %}
|
|
|
|
In older versions of LibSass and Ruby Sass, the [`call()` function][] took a
|
|
|
|
string representing a function's name. This was changed to take a function
|
|
|
|
value instead in preparation for a new module system where functions are no
|
|
|
|
longer global and so a given name may not always refer to the same function.
|
2023-05-29 22:19:19 +02:00
|
|
|
|
2023-06-02 23:36:10 +02:00
|
|
|
[`call()` function]: /documentation/modules/meta#call
|
2023-05-29 22:19:19 +02:00
|
|
|
|
2023-06-02 23:36:10 +02:00
|
|
|
Passing a string to `call()` still works in all implementations, but it's
|
|
|
|
deprecated and will be disallowed in future versions.
|
2023-05-29 22:19:19 +02:00
|
|
|
{% endcompatibility %}
|