Skip to content

Python is construct is forbidden and should error out at gtscript level #60

@FlorianDeconinck

Description

@FlorianDeconinck

The following code should error at gtscript level:

def (a_bool: bool, x: FloatField):
     with computation(PARALLEL), interval(...):
         if a_bool is True:
             x = 42

Parent: GEOS-ESM/SMT-Nebulae#36


  • Fail with a clean feedback for the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions