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


           Summary: Evaluator.Evaluate() cannot do a simple multiplication
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.0.5)
Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)

csharp> var a = 1 * 2;
csharp> a;
2
csharp> 1 + 2;
3
csharp> 1 * 2;
{interactive}(1,2): error CS0201: Only assignment, call, increment, decrement,
and new object expressions can be used as a statement
{interactive}(1,6): error CS1525: Unexpected symbol `2', expecting `[',
`<operator>', or `identifier'
csharp> 

Reproducible: Always

Actual Results:  
a error.

Expected Results:  
evaluating 1 * 2 and return the result of it, e.g. 2

-- 
Configure bugmail: https://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

Reply via email to