Skip to content

Changing language does not correctly change the default comment #2683

Open
@raivatshah

Description

@raivatshah

Steps to reproduce:

  1. Go to Source Academy Playground
  2. Default language should be JS and there should be a comment "// Type your program in here!". Change language from JS to Python
  3. The comment stays the same, which causes a syntax issue.

Screenshot 2023-09-19 at 2 26 50 PM

Expected behaviour upon language change should be to automatically change the default comment as well. I believe the same issue will also happen if the language is changed from JS to Scheme.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingminorLess important than important, but more than nice-to-have

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions