[Mono-bugs] [Bug 361412] New: vbnc: Support Option Explicit/ Strict without On or Off keyword
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 13 05:15:38 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=361412
Summary: vbnc: Support Option Explicit/Strict without On or Off
keyword
Product: Mono: Compilers
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: andyhume32 at yahoo.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Compiling e.g.
[[
Option Strict
Option Explicit
Class HelloWorld
Public Shared Sub Main
End Sub
End Class
]]
Results in:
[[
Visual Basic.Net Compiler version 0.0.0.5851
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
[... forty lines chopped ...]
HelloWorldOptionNoOn.vb (1,8) : Error VBNC99997: You've encountered something
in the compiler which is not implemented. Please file a bug (see instructions
here: http://mono-project.com/Bugs)
HelloWorldOptionNoOn.vb (1,8) : Error VBNC30041: Too many errors.
Exception of type 'vbnc.TooManyErrorsException' was thrown.
at vbnc.Report.ShowMessage (Boolean SaveIt, vbnc.Message Message) [0x00000]
at vbnc.Report.ShowMessage (Messages Message, Span Location, System.String[]
Parameters) [0x00000]
at vbnc.Report.ShowMessage (Messages Message, System.String[] Parameters)
[0x00000]
at vbnc.Compiler.Compile () [0x00000]
at vbnc.Compiler.Compile (System.String[] CommandLine) [0x00000]
at vbnc.Main.Main (System.String[] CmdArgs) [0x00000]
Failed compilation took 00:00:01.8910000
]]
Adding " On" to each Option line is the workaround.
>From vbls80.doc
Option Explicit -- "if neither is specified, the default is On."
Option Strict -- "if neither is specified, the default is On."
Option Compare -- Text/Binary must be specified
I haven't tried using Option Compare.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list