Draco-lang / Language-suggestions

Collecting ideas for a new .NET language that could replace C#
75 stars 5 forks source link

RFC0010 - Basic overloading #111

Closed LPeter1997 closed 1 year ago

LPeter1997 commented 1 year ago

This RFC describes the most basic form of overloading the compiler supports currently.

jl0pd commented 1 year ago

There are missing at least inheritance and generics. C#'s spec may be useful. Page 181, paragraph 11.6.4 https://www.ecma-international.org/wp-content/uploads/ECMA-334_6th_edition_june_2022.pdf.

LPeter1997 commented 1 year ago

Agree, once we have subtyping and generics, we'll have to work out some scoring system and C# will come in handy.