Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

sass.types.Color(2,3) causes "Empty MaybeLocal" abort #1090

Closed
saper opened this issue Aug 20, 2015 · 0 comments
Closed

sass.types.Color(2,3) causes "Empty MaybeLocal" abort #1090

saper opened this issue Aug 20, 2015 · 0 comments

Comments

@saper
Copy link
Member

saper commented Aug 20, 2015

After #1058 (which is testing this) when we try to execute this:

var sass = require('./');
        sass.render({
        data: 'div { color: foo(); }',
          functions: {
            'foo()': function() {
              return sass.types.Color(2,3);
            }
          }
});

We get an abort: FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal. because Color::construct() throws a C++ exception.

jiongle1 pushed a commit to scantist-ossops-m2/node-sass that referenced this issue Apr 7, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

1 participant