lens icon indicating copy to clipboard operation
lens copied to clipboard

Поддержка атрибутов

Open impworks opened this issue 11 years ago • 0 comments

Хорошо было бы уметь помечать атрибутами типы, записи и методы. Например, так:

@Testable
func test:int (x:int y:int) -> x + y

или так:

@NotZero "y"
@CanBeZero
fun div:int (x:int y:int) -> x / y

Хорошо бы было также иметь удобный способ получать атрибуты, без необходимости обращаться к Reflection.

impworks avatar Aug 27 '13 14:08 impworks