using Nemerle.Extensions; public module Lib { public GetEmpty() : IAnonymous { new () } public GetObject[K, T](a : K, b : T) : IAnonymous { new (a = a, b = b) // OK } public GetObject2[K, T](a : K, b : T) : IAnonymous { new [a, b](a, b) // OK } }