Better diagnostics for non-applicable type annotations

XMLWordPrintable

    • 8
    • b26

      Currently the only diagnostic which indicates that a type annotation cannot be applied to a given piece of syntax reads "cannot annotate scoping construct". This is unclear and in some cases, outright misleading (particularly for annotations on .class expressions). There ought to be better diagnostics.

            Assignee:
            Liam Miller-Cushon
            Reporter:
            Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: