PseudocodeEditor / editor

The codemirror 6 editor for CIE spec Pseudocode
https://editor.pseudonaja.app
21 stars 2 forks source link

No Error Output for Invalid Number Assignment / No Implicit Cast #35

Open Number-3434 opened 3 months ago

Number-3434 commented 3 months ago

If you try to assign an INTEGER literal to a variable of type REAL, the program will silently crash.

For example:

DECLARE Pi : REAL
Pi <- 3  // Will cause a silent crash