summaryrefslogblamecommitdiff
path: root/test/disabled/neg/macro-deprecate-idents.check
blob: bd685fc7b94d9b21d308ea3a6ee05e24a1c79a1a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                                                                               
        

                                                                                                                               
        

                                                                                                                                
         

                                                                                                                                
          

                                                                                                                                
          







                                                                                                                                
          
                                                                                                                                

              
















                                                                                                                                
        
                
macro-deprecate-idents.scala:2: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  val macro = ???
      ^
macro-deprecate-idents.scala:6: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  var macro = ???
      ^
macro-deprecate-idents.scala:10: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  type macro = Int
       ^
macro-deprecate-idents.scala:14: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  class macro
        ^
macro-deprecate-idents.scala:18: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  class macro
        ^
macro-deprecate-idents.scala:22: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  object macro
         ^
macro-deprecate-idents.scala:26: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  object macro
         ^
macro-deprecate-idents.scala:30: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  trait macro
        ^
macro-deprecate-idents.scala:34: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  trait macro
        ^
macro-deprecate-idents.scala:37: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
package macro {
        ^
macro-deprecate-idents.scala:38: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  package macro.bar {
          ^
macro-deprecate-idents.scala:43: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  package macro.foo {
          ^
macro-deprecate-idents.scala:48: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  val Some(macro) = Some(42)
           ^
macro-deprecate-idents.scala:50: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
    case macro => println(macro)
         ^
macro-deprecate-idents.scala:55: error: in future versions of Scala "macro" will be a keyword. consider using a different name.
  def macro = 2
      ^
15 errors found