In Boo, let's say I override a method that accepts a parameter that accepts string[] urls. Type inference for some reason does not match the base class, so I need to explicitly specify the type of the parameter.
class MyClass: MyBase
override method(urls as Array[of (string)])
dostuff()
This turns out to be the wrong Boo syntax. What is the correct way to indicate that I am overriding a method that takes an array parameter?
I usually prefer to expect IEnumerable, but I override another base class that is part of Rhino.DSL.
Edited to add: It turns out that my problem was only tangent to the syntax for declaring an array ... my real problem was two different versions of the Boo assembly referenced in my project.
source
share