Closed myzie closed 6 months ago
Copy-paste error leads to code generation error that overwrites the strings.has_prefix function.
strings.has_prefix
https://github.com/risor-io/risor/blob/main/modules/strings/strings.go#L19
//risor:export has_prefix func hasSuffix(s, suffix string) bool { return strings.HasSuffix(s, suffix) }
cc @applejag
Copy-paste error leads to code generation error that overwrites the
strings.has_prefix
function.https://github.com/risor-io/risor/blob/main/modules/strings/strings.go#L19
cc @applejag