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
Current generated code for Gio::File#new_for_path is:
def self.new_for_path(path : ::String) : Gio::File # g_file_new_for_path: (None) # @path: # Returns: (transfer full) # C call _retval = LibGio.g_file_new_for_path(path) # Return value handling Gio::AbstractFile.new(_retval, GICrystal::Transfer::Full) end
But it must be:
def self.new_for_path(path : ::String | ::Path) : Gio::File # g_file_new_for_path: (None) # @path: # Returns: (transfer full) path = path.to_s # C call _retval = LibGio.g_file_new_for_path(path) # Return value handling Gio::AbstractFile.new(_retval, GICrystal::Transfer::Full) end
Return values with filename tag must remains as Path only.
filename
Path
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current generated code for Gio::File#new_for_path is:
But it must be:
Return values with
filename
tag must remains asPath
only.The text was updated successfully, but these errors were encountered: