Skip to content
This repository was archived by the owner on Jan 22, 2022. It is now read-only.

bug(code): the SQL visualizer doesn't differentiate between ints and floats #413

@itsvs

Description

@itsvs

In SQL, 3/2 and 3.0/2 are treated differently, but since the code.cs61a.org SQL interpreter is written in JS, this functionality isn't properly reflected in the step-by-step visualizer. The fix here is to wrap all values in a JS object that includes their type, and to write logic around this type. This fix is a bit too involved to be implemented this close to the SU21 final, as things might break if something goes wrong, but it should be fixed soon after.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions