Skip to content

Attribute propragation should work properly: #66

Description

@wilzbach

It's just hilarious:

nothrow:

struct Foo
{
    int bar()
    {
        return 0;
    }
}

void main()
{
    Foo().bar(); // ERROR: function onlineapp.Foo.bar is not nothrow
}

https://run.dlang.io/is/0N3633

See also: dlang/DIPs#137, dlang/dmd#9076

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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