thelilylang / lily

The Lily programming language ⚜
MIT License
9 stars 2 forks source link

Fix `format__String` function #528

Closed ArthurPV closed 1 month ago

ArthurPV commented 1 month ago

The following code generates leaks for non-initialized values:

#include <base/string.h>

int main() {
  double f = 3.33;

  String *s = format__String("{f}", f);
}