- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
scaladoc of type members
Fri, 2011-12-23, 16:47
Hi,
I have the following code:
package object graph { /** A graph where nodes, edges and links between these can be checked with instances to see if they are in these * collections. */ type QueryableMembershipGraph[G, V, E] = Graph[G, V, E] {
/** The collection type is an indicator function. */ type Col[A] <: A => Boolean
}}
This compiles but does not scaladoc. It bails with "error: only declarations allowed here" pointing to the doc on Col. Is this an oversight or intended behaviour? Depending, I need to submit a bug report either to scaladoc or the intellij scala plugin :)
Matthew
--
Dr Matthew PocockIntegrative Bioinformatics Group, School of Computing Science, Newcastle Universitymailto: turingatemyhamster@gmail.com gchat: turingatemyhamster@gmail.commsn: matthew_pocock@yahoo.co.uk irc.freenode.net: drdozerskype: matthew.pococktel: (0191) 2566550mob: +447535664143
I have the following code:
package object graph { /** A graph where nodes, edges and links between these can be checked with instances to see if they are in these * collections. */ type QueryableMembershipGraph[G, V, E] = Graph[G, V, E] {
/** The collection type is an indicator function. */ type Col[A] <: A => Boolean
}}
This compiles but does not scaladoc. It bails with "error: only declarations allowed here" pointing to the doc on Col. Is this an oversight or intended behaviour? Depending, I need to submit a bug report either to scaladoc or the intellij scala plugin :)
Matthew
--
Dr Matthew PocockIntegrative Bioinformatics Group, School of Computing Science, Newcastle Universitymailto: turingatemyhamster@gmail.com gchat: turingatemyhamster@gmail.commsn: matthew_pocock@yahoo.co.uk irc.freenode.net: drdozerskype: matthew.pococktel: (0191) 2566550mob: +447535664143
On Fri, Dec 23, 2011 at 13:47, Matthew Pocock <turingatemyhamster@gmail.com> wrote:
--
Daniel C. Sobral
I travel to the future all the time.