fix error if( !someCall() ) - requires a space after ' ' which it must not #80

Closed
opened 2025-12-06 15:56:48 +03:00 by sergeych · 1 comment
Owner
No description provided.
sergeych added the
Kind/Bug
label 2025-12-06 15:56:48 +03:00
Author
Owner

It is rare. STR:

fun isSignedByAdmin() {
    // just ok
    true
}

fun requireAdmin() {
    // this called error:
    if( !isSignedByAdmin() )
        throw "Admin signature required"
}
It is rare. STR: ``` fun isSignedByAdmin() { // just ok true } fun requireAdmin() { // this called error: if( !isSignedByAdmin() ) throw "Admin signature required" } ```
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SergeychWorks/lyng#80
No description provided.