DigitalMars / med

Micro Emacs in D
Other
88 stars 16 forks source link

C-. causes SwitchError to be thrown. #1

Open bhelyer opened 12 years ago

bhelyer commented 12 years ago

Steps to reproduce

  1. run med.exe
  2. hit ctrl-.

What happens?

Explosion.

core.exception.SwitchError@console(314): No appropriate switch clause found
----------------
0x00436F34 in char[][] core.sys.windows.stacktrace.StackTrace.trace()
0x00436DBF in core.sys.windows.stacktrace.StackTrace core.sys.windows.stacktrace.StackTrace.__ctor()
0x00420418 in onSwitchError
0x004171B9 in int console.ttkeysininput() at C:\Users\Bernard\Coding\src\med\console.d(382)
0x004156FF in int main.getkey() at C:\Users\Bernard\Coding\src\med\main.d(649)
0x0041506D in _Dmain at C:\Users\Bernard\Coding\src\med\main.d(489)
0x0041C9FC in extern (C) int rt.dmain2.main(int, char**).void runMain()
0x0041CA36 in extern (C) int rt.dmain2.main(int, char**).void runAll()
0x0041C658 in main
0x00441971 in mainCRTStartup
0x75C3339A in BaseThreadInitThunk
0x77919EF2 in RtlInitializeExceptionChain
0x77919EC5 in RtlInitializeExceptionChain
----------------

What do you expect to happen?

No idea, but not that.