ValeLang / Vale

Compiler for the Vale programming language - http://vale.dev/
https://vale.dev/
Apache License 2.0
1.74k stars 53 forks source link

[stdlib] Add missing import to path.vale #632

Open jinyus opened 7 months ago

jinyus commented 7 months ago

Used here:

https://github.com/ValeLang/Vale/blob/02f39df7d8add54b5c01d453c34483a01b26cc44/stdlib/src/path/path.vale#L137

Error without it:

Error: stdlib.path:/home/dev/programs/vale_0.2.0.28/stdlib/src/path/path.vale:134:31 error T
  new_segments = segment.split(GetPathSeparator());
Couldn't find a suitable function split(str, str). No function with that name exists.