blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Disallow Function() in Interfaces #77

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: Difference

Monkey2 should/could disallow Function in interfaces, because it is unclear what it does.

"it's kind of pointless putting a function in an interface - an interface is a bunch of absrtract methods. A function is NOT an abstract method! So the interface name could be used to 'scope' a plain old function, and that's about it."