Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-877

smalltalk namespace doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • 0.5
    • Compiler (General)
    • None
    • Patch Available

    Description

      The patch from THRIFT-857, applied as r987565, didn't work for smalltalk. (sorry, I tested it with python, and didn't look too hard at the smalltalk)

      However, there's a bigger problem that the smalltalk generator is calling back into program_ to lookup namespaces using "smalltalk.<foo>" while it's registered as a generator for "st" so the root namespace check only allows "st.foo" namespaces. I really hate this, but if there are people expecting "namespace smalltalk" to work, maybe the best fix would be to hard-code the converstion to "st":

      (note: I ran the smalltalk generator this time to make sure the "category" line was there, but would in no way claim to have tested the smalltalk.)

      Attachments

        1. ns_smalltalk.patch
          1 kB
          Bruce Lowekamp

        Activity

          People

            lowekamp Bruce Lowekamp
            lowekamp Bruce Lowekamp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: