Skip to content

a field value computed inside a branching statement cannot be used outside of it #925

@angelacorte

Description

@angelacorte
var x: Field = ...
if (...)
   x = neighboring...
else 
  x = neighboring...

this occurrence should raise an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontendFrontend compiler plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions