On Sun, Nov 23, 2008 at 12:51 PM, Александър Л. Димитров
<[EMAIL PROTECTED]> wrote:
> Thus spoke Jean-Philippe Bernardy:
>> On Sun, Nov 23, 2008 at 12:52 AM, Александър Л. Димитров
>> Strangely, ArbMove is defined in the very file you load. Does ghci say
>> "interpreted"
>> when the module is loaded?
>
> No. It says the following:
>
>> % ghci -cpp -XRankNTypes -XFlexibleContexts -XGeneralizedNewtypeDeriving \
>> -XDeriveDataTypeable -IYi/Lexer -idist/build -idist/build/autogen \
>>  -idist/build/yi/yi-tmp Yi/Keymap/Vim.hs
>> GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
>> Loading package base ... linking ... done.
>> [compiling a huge list of modules (89, to be exact)]
>>
>> Ok, modules loaded: [List of all modules it previously compiled]
>> *Yi.Keymap.Vim> :t ArbMove
>>
>> <interactive>:1:0:
>>     Can't find interface-file declaration for data constructor ArbMove
>>       Probable cause: bug in .hi-boot file, or inconsistent .hi file
>>       Use -ddump-if-trace to get an idea of which file caused the error
>> *Yi.Keymap.Vim>
>
> This is not unique to ArbMove, it seems many of the types declared in this 
> file
> are not recognized.

What if you try to remove the files Vim.hi and Vim.o before loading?

Cheers,
JP.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to