Bug 34602 - REPL can't handle multiplication
Summary: REPL can't handle multiplication
Status: NEW
Alias: None
Product: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 4.0.0
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2015-10-06 14:35 UTC by Jeremy McLain
Modified: 2015-10-06 14:35 UTC (History)
1 user (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Jeremy McLain 2015-10-06 14:35:42 UTC
Steps to repeat:

Jeremys-MBP:~ jeremy$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> int x = 5;
csharp> int y = 6;
csharp> x * y
(1,2): error CS0246: The type or namespace name `x' could not be found. Are you missing an assembly reference?

I also tried it on Linux with the same results.

I'm trying to use the REPL to teach students how to code in C# and this makes that difficult.

Note You need to log in before you can comment on or make changes to this bug.