diff options
author | paltherr <paltherr@epfl.ch> | 2003-07-15 15:42:38 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-07-15 15:42:38 +0000 |
commit | 36fed7ddbbf343e6b8ec2a7b9d54044f549ab106 (patch) | |
tree | cd9074c7153fad5b5578c5c319f17e174179473d | |
parent | b3ad694a43d0bffb713b3c97c7925790f9d7fe9e (diff) | |
download | scala-36fed7ddbbf343e6b8ec2a7b9d54044f549ab106.tar.gz scala-36fed7ddbbf343e6b8ec2a7b9d54044f549ab106.tar.bz2 scala-36fed7ddbbf343e6b8ec2a7b9d54044f549ab106.zip |
- Fixed description of Type.typeParams and Type...
- Fixed description of Type.typeParams and Type.valueParams
-rw-r--r-- | sources/scalac/symtab/Type.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/scalac/symtab/Type.java b/sources/scalac/symtab/Type.java index 86dbb3a805..eebcd5a865 100644 --- a/sources/scalac/symtab/Type.java +++ b/sources/scalac/symtab/Type.java @@ -411,8 +411,8 @@ public class Type implements Modifiers, Kinds, TypeTags { } } - /** Get type parameters of polymorphic method or EMPTY_ARRAY if - * not applicable. + /** Get type parameters of method type (a PolyType or MethodType) + * or EMPTY_ARRAY if method type is not polymorphic. */ public Symbol[] typeParams() { switch (this) { @@ -425,8 +425,8 @@ public class Type implements Modifiers, Kinds, TypeTags { } } - /** Get value parameters of method or EMPTY_ARRAY if not - * applicable. + /** Get value parameters of method type (a PolyType or MethodType) + * or EMPTY_ARRAY if method type has no value parameter section. */ public Symbol[] valueParams() { return valueParams(false); |