#34warn for unneeded `break`/`return`

  • avatar~clovercommented · 2 years ago
    Author
    Owner
    fn hello() -> int {
      return 1;
    }
    

    add warning to change this to

    fn hello() -> int {
      1
    }
    

    Milestone: later.

  • avatar~clover changed the status to Todo · 2 years ago