Skip to content

overloading of methods #1

@Tynukua

Description

@Tynukua

Some times rpc API provide methods with optinal typing of parametr

if create another overloading of method in interface, only one implimentation created

source/app.d(5,1): Error: class `app.AutoJsonRpc!(IAPI).AutoJsonRpc` ambiguous virtual function `helloWorld`
source/app.d(5,1): Error: class `app.AutoJsonRpc!(IAPI).AutoJsonRpc` interface function `string helloWorld(int number, int number2)` is not implemented
source/app.d(40,20): Error: template instance `app.AutoJsonRpc!(IAPI)` error instantiating

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions