Details

      Description

      As recent experience shows, it's hardly possible to implement a global cache that persists between compilation runs: http://groups.google.com/group/scala-ide-user/browse_thread/thread/b1cab5588ff21f7f. Therefore I think we need to remove Context.globalCache.

      Speaking of cache, it looks like Context.cache can be emulated with attachments. It'd be also interesting to see what Racket guys do in their latest paper "Macros that work together".

      But for it I think we need to remove both caches. If macro writers really need that functionality, they'd better roll their own mechanisms instead of using our half-baked API.

        Activity

        Show
        Eugene Burmako added a comment - https://github.com/scala/scala/commit/e6176afdcdb7abffdee8a6f8d5e58790f8f905fc

          People

          • Assignee:
            Eugene Burmako
            Reporter:
            Eugene Burmako
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development