mapbox/carto — Issue #123: Invalid function call causes unexpected error
Author: willwhite
Created: 2011-12-08 03:04:33+00:00
State: open

Calling an function like `darken(#85c5d3)` instead of `darken(#85c5d3, 10)` results in the following error:

> TypeError: Cannot read property 'value' of undefined

Example style:

#countries {
::outline {
line-color: darken(#85c5d3);
line-width: 2;
line-join: round;
}
polygon-fill: #fff;
}