Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
1
-
Language 2016-01-13
-
Bug Fix
-
It was possible to illegally define a function inside a class or user defined type without getting an error. Now an error is raised.
Description
It's currently possible to write:
class foo { |
function bar() { |
}
|
}
|
This should not be possible since a function is a top level construct.
Attachments
Issue Links
- links to