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
empty
This function (which is suspect, but valid) doesn't compile:
Iterable<Element, Absent> emptyify<Element, Absent> (Iterable<Element, Absent> stream) given Absent satisfies Null { if (stream.empty) { assert (is Iterable<Element, Absent> empty); // error return empty; } else { return stream; } }
$ ceylon compile source/simple/run.ceylon:5: error: cannot find symbol assert (is Iterable<Element, Absent> empty); ^ symbol: variable empty location: class emptyify_ ceylon compile: There was 1 error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This function (which is suspect, but valid) doesn't compile:
The text was updated successfully, but these errors were encountered: