You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modulelang/* * PROPOSALS *//* v1 */
open type Foo {
shared String name
shared Int value
internal nil Bar optional
init(Stringname,Intvalue){this.name=name
this.value = value
}init(Stringname,Intvalue,Baroptional){this(name,value)
this.optional=optional}}/* v2 */
open type Foo (sharedString name
shared Int value
){internalnilBaroptionalinit(Stringname,Intvalue,Baroptional){this(name,value)
this.optional=optional}}/* v3 */opentype Foo {sharedString name
shared Int value
~internal State state1
~internalmutState mutableState2 =State()init(base){this.mutableState1=State(name,value)}}/* v4 */opentype Foo {sharedbase String name
shared base Int value
internal State state1
internal mut State mutableState2 = State()
init (base){this.mutableState1=State(name,value)}}/* v5 */opentype Foo {
shared String name
shared Int value
internal ext State state1
internal mut ext State mutableState2 = State()
init (base){this.mutableState1=State(name,value)}}
The text was updated successfully, but these errors were encountered:
Current candidate: v3
The text was updated successfully, but these errors were encountered: