Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug when parsing selector schemas #2371

Merged
merged 1 commit into from
May 3, 2017
Merged

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented May 3, 2017

Discovered whilst debugging a different issue. The code below is showing
the wrong error message because a null pointer assignment.

#{a==b}

LibSass

Error: Invalid CSS after "#": expected "{", was "#{a==b}"

Ruby Sass

Error: Invalid CSS after "#{a==b}": expected "{", was ""

Spec sass/sass-spec#1106

@xzyfer xzyfer added this to the 3.5.0.beta.4 milestone May 3, 2017
@xzyfer xzyfer self-assigned this May 3, 2017
xzyfer added a commit to sass/sass-spec that referenced this pull request May 3, 2017
Discovered whilst debugging a different issue. The code below is
showing the wrong error message because a null pointer assignment.

```scss
```
LibSass
```
Error: Invalid CSS after "#": expected "{", was "#{a==b}"
```
Ruby Sass
```
Error: Invalid CSS after "#{a==b}": expected "{", was ""
```
Spec sass/sass-spec#1106
xzyfer added a commit to sass/sass-spec that referenced this pull request May 3, 2017
@xzyfer xzyfer merged commit a53d1e7 into sass:master May 3, 2017
@xzyfer xzyfer deleted the fix-null-pointer branch May 3, 2017 14:51
xzyfer added a commit that referenced this pull request May 3, 2017
Discovered whilst debugging a different issue. The code below is
showing the wrong error message because a null pointer assignment.

```scss
```
LibSass
```
Error: Invalid CSS after "#": expected "{", was "#{a==b}"
```
Ruby Sass
```
Error: Invalid CSS after "#{a==b}": expected "{", was ""
```
Spec sass/sass-spec#1106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant