Skip to content

Inference order dependency #515

Description

@LPeter1997

This doesn't work:

import System;
import System.Collections.Generic;

func main() {
    val l = List();
    l.Add(ArgumentException());
    l.Add(InvalidOperationException());
    l.Add(Exception());
}

But this does:

import System;
import System.Collections.Generic;

func main() {
    val l = List();
    l.Add(ArgumentException());
    l.Add(Exception());
    l.Add(InvalidOperationException());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions