Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

invalid css in render function doesn't show error #117

@trafnar

Description

@trafnar

extension v3.0.8
imba v2.0.0-alpha.175

If you mistakenly use a root-level css declaration within render, but outside self, there is an error in the terminal but not in the tooling. This is an easy mistake to make, and can be confusing to debug.

def render
    # this root-level css is not allowed oustide self within render, it produces an error
    # but the error is not shown in the tooling, making it hard to catch/understand/debug
    css bgc:red

    # this is allowed and works
    css .foo bgc:red

    <self>
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions