http://bugzilla.novell.com/show_bug.cgi?id=623483
http://bugzilla.novell.com/show_bug.cgi?id=623483#c0 Summary: SVN Mono regression, cannot define sum types in F# interactive Classification: Mono Product: Mono: Runtime Version: SVN Platform: x86-64 OS/Version: Ubuntu Status: NEW Severity: Major Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; .NET4.0C; .NET4.0E) I cannot define sum types in F# interactive using the latest SVN version (2.7), while it worked fine in Mono 2.6.4. ubuntu% uname -a Linux ubuntu 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux ubuntu% echo 'type Foo = A of int' > bug4.fsx ubuntu% ~/mono-install/bin/mono -V Mono JIT compiler version 2.7 (/trunk/mono r160562 Mon Jul 19 14:18:45 BST 2010) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: debugger softdebug LLVM: supported, not enabled. GC: Included Boehm (with typed GC and Parallel Mark) ubuntu% ~/mono-install/bin/mono /usr/lib/fsharp/fsi.exe bug4.fsx error FS0193: Operation is not supported. ubuntu% mono -V Mono JIT compiler version 2.6.4 (tarball Thu Jul 1 18:26:09 BST 2010) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC and Parallel Mark) SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none ubuntu% mono /usr/lib/fsharp/fsi.exe bug4.fsx ubuntu% Reproducible: Always Steps to Reproduce: 1. Get F# standalone on Microsoft website (zip version) at www.fsharp.net 2. echo 'type Foo = A of int' > bug4.fsx 3. Run fsi.exe on this file: mono fsi.exe bug4.fsx Actual Results: On Mono 2.6.4, it works fine (it displays nothing, as expected). On Mono 2.7 (built today), I get "Operation is not supported." error. The bug doesn't appear when using F# compiler (fsx.exe) instead of F# interactive (fsi.exe). So, it seems to be related to dynamic compilation. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
