Skip to content

Got a compile error, then the repl stopped working #394

@Gonkers

Description

@Gonkers

Version

C# REPL 0.6.7+d2955f13e744320cd6331c484e1286c3ed4f8612

What happened?

Yes, ignore the silly error I was typing. But figured the repl shouldn't stop working because of it.

Image

Activity

Rekkonnect

Rekkonnect commented on Jun 28, 2025

@Rekkonnect
Collaborator

It didn't stop working; your final Math.Log queries are statements with a trailing ;. If you simply invoked the method without the ; at the end you would normally get a result like the other invocations.

However this is a problem because it's easy to accidentally type a statement instead of an expression. I've created #401 to track this. Closing this one out as it's not a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @waf@Rekkonnect@Gonkers

      Issue actions

        Got a compile error, then the repl stopped working · Issue #394 · waf/CSharpRepl