summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/ast/parser/Parsers.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
index b5e1b33853..05b909386b 100644
--- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala
@@ -1590,20 +1590,6 @@ trait Parsers extends NewScanners with MarkupParsers {
annots.toList
}
- /** TypeAttributes ::= {`[' Exprs `]'}
- *
- * Type attributes may be arbitrary expressions.
- */
- def typeAttributes(): List[Tree] = {
- val exps = new ListBuffer[Tree]
- while(inToken == LBRACKET) {
- accept(LBRACKET)
- exps ++= exprs()
- accept(RBRACKET)
- }
- exps.toList
- }
-
/** AnnotationExpr ::= StableId [TypeArgs] [`(' [Exprs] `)'] [[nl] `{' {NameValuePair} `}']
* NameValuePair ::= val id `=' PrefixExpr
*/