class Test def main is shared .check(@[1, 2, 3]) def check(stuff as IEnumerable) is shared for item in stuff assert item