summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-blackbox-structural.check
Commit message (Collapse)AuthorAgeFilesLines
* blackbox restriction #1: can't refine the official return typeEugene Burmako2013-11-121-0/+4
When an application of a blackbox macro expands into a tree `x`, the expansion is wrapped into a type ascription `(x: T)`, where `T` is the declared return type of the blackbox macro with type arguments and path dependencies applied in consistency with the particular macro application being expanded. This invalidates blackbox macros as an implementation vehicle of type providers.