frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Changing language does not correctly change the default comment

Open raivatshah opened this issue 2 years ago • 2 comments

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.

raivatshah avatar Sep 19 '23 06:09 raivatshah