Skip to content

Allow annotations on modules #23

@jtoman

Description

@jtoman

Currently Rtc allows only the annotation of classes. It should also allow the annotation of modules. This will also let us do the following:

class IncluderClass
    include :module1,:module2,...
end

The includes will look up the modules, and for each module add the method annotations of that module to the current class (or theoretically, another module). Different handling for conflicting signatures will be required for this to work. That is, if module Foo defines a method bar with some signature sig1 and class A also defines bar with signature sig2, and A includes Foo, then the signatures sig1 and sig2 should not be automatically intersected, but rather the signature from A should overwrite the signature from Foo.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions