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

Throw error when trying to combine differently-typed selectors on same node #101

Closed
tempit opened this issue Aug 29, 2017 · 1 comment
Closed
Labels
bug Unexpected behavior or exception core Processing and transforming logic diagnostics Warnings and errors

Comments

@tempit
Copy link
Contributor

tempit commented Aug 29, 2017

:import {
-st-from './somewhere.st.css';
-st-default: List;

.item {
-st-states: focused;
}

Now, this:
List.item

Should throw error, because List and .item are differently-typed

@tempit tempit added the bug Unexpected behavior or exception label Aug 29, 2017
@tempit tempit assigned nadavwix and qballer and unassigned nadavwix Aug 29, 2017
@qballer qballer removed their assignment Oct 17, 2017
@tomrav tomrav added the diagnostics Warnings and errors label Nov 22, 2017
@tomrav tomrav added the core Processing and transforming logic label May 29, 2018
@tomrav
Copy link
Collaborator

tomrav commented May 10, 2020

Closing as irrelevant (type shapes can be composed).

@tomrav tomrav closed this as completed May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior or exception core Processing and transforming logic diagnostics Warnings and errors
Projects
None yet
Development

No branches or pull requests

4 participants