[Mono-bugs] [Bug 679543] New: Compile error "Expected 'End'" when setting variable values

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 14 17:06:39 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=679543

https://bugzilla.novell.com/show_bug.cgi?id=679543#c0


           Summary: Compile error "Expected 'End'" when setting variable
                    values
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.10.x
          Platform: x86-64
        OS/Version: RHEL 5
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Basic
        AssignedTo: rkvinge at novell.com
        ReportedBy: joshua at jbrungar.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15

The following code gives a compile error "Compiler Error Message: VBNC90019:
Expected 'End'. " for the line str = "Hello World"

<% @Page Language="VB" %>
<script runat="server"> 
Dim str as String 
str = "Hello World" 
</script> 

None of my scripts will run, they all give the same error when setting the
value of a previously defined variable.

Reproducible: Always

Steps to Reproduce:
1. Write some ASP.net VB code that sets the value of a previously defined
variable
Actual Results:  
"Compiler Error Message: VBNC90019: Expected 'End'. "

Expected Results:  
Run normally with no errors.

-- 
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