-
Notifications
You must be signed in to change notification settings - Fork 366
Closed
Labels
JavaScriptIssues particular to the Node.js distributionIssues particular to the Node.js distributionbug
Description
The MultiSpan
introduced in Sass 1.54.0 does not provide access to the properties documented for SourceSpan
. Although it looks like the properties should be accessible (I can only take a guess here because I don't know Dart), they are undefined
in the JavaScript API.
Minimal Node.js code for reproducing the problem (tested with latest Sass version, 1.54.5):
let sass = require('sass')
sass.compileString(`* > { --foo: bar }`, {
logger: {
warn(_message, { span }) {
// `span.start` should yield a `SourceLocation` according to documentation, gets `undefined` instead
console.log(span.start)
}
}
})
Metadata
Metadata
Assignees
Labels
JavaScriptIssues particular to the Node.js distributionIssues particular to the Node.js distributionbug