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
The code below results in a backend error:
class Li<out Element>(shared Element* items) {} shared void run() { Li<Li<String>> f = Li(Li("#1")); Li<String>? ns = f.items[0]; value n = if (is Li<Anything> ns) then ns.items else (ns of Li<String>?); // ok value o = if (is Li<Anything> ns) then ns.items else ns; // error //Incompatible types //required: ceylon.language.Sequential<? extends ceylon.language.String> //found: simple.Li<capture#1 of ? extends ceylon.language.String> }
(Found when looking at #2422)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code below results in a backend error:
(Found when looking at #2422)
The text was updated successfully, but these errors were encountered: