result_id should be a GlobalId
authorSimon Marlow <simonmar@microsoft.com>
Mon, 14 May 2007 15:30:40 +0000 (15:30 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 14 May 2007 15:30:40 +0000 (15:30 +0000)
compiler/main/InteractiveEval.hs

index 5106d34..de63605 100644 (file)
@@ -452,7 +452,8 @@ bindLocalsAtBreakpoint hsc_env apStack info = do
    let result_fs = FSLIT("_result")
        result_name = mkInternalName (getUnique result_fs)
                           (mkVarOccFS result_fs) span
-       result_id   = Id.mkLocalId result_name result_ty
+       result_id   = Id.mkGlobalId VanillaGlobal result_name result_ty 
+                                   vanillaIdInfo
 
    -- for each Id we're about to bind in the local envt:
    --    - skolemise the type variables in its type, so they can't