Skip to content

Response has already been sent #59

Open
@Miha-x64

Description

@Miha-x64

Similar to PHP's 'headers already sent by' :)
Can be reproduces by something like

div {
    p()
    classes += "whatever
}

Stack trace contains no my functions, only host's, coroutines', ktor's, etc.

For absolute safety such constructs should be prohibited. For example, DSL function can accept two functions. One will work with attributes, other — with content, and second must be evaluated after first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions