module main import os [inline] [export: 'Java_io_vlang_V_callStaticMethods'] [direct_array_access] [unsafe] [tom: 'jerry'] fn heavily_tagged() {} [a_console] // a console attribute to force-open a console for easier diagnostics on windows [unsafe] // also it's not safe to use fn dangerous_console() {} [attribute_on_struct] struct Generic[T] { x T [required] } struct Abc { f fn () int [atr1] = fn () int { return 456 + os.args.len } @[atr2] // g Generic[int] [atr3] = Generic[int] { 123 } @[atr4] }