We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wish I could create a PR for once without first having to file issues lol
This doesn't error:
let .file-extension(path: CString): CString = ( let dot = path.find-last(46_u8); match dot { Some{content=content} => path.substring(content + 1); None{} => ""; } );
but generates incorrect C code because "" is a SmartString, and the function should return a CString
""
SmartString
CString
Code to reproduce here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I wish I could create a PR for once without first having to file issues lol
This doesn't error:
but generates incorrect C code because
""
is aSmartString
, and the function should return aCString
Code to reproduce here
The text was updated successfully, but these errors were encountered: