• Daniel Clifford's avatar
    [torque] 'bool' is now 'true|false' not 'yes|no' · dd5cdcee
    Daniel Clifford authored
    In the process, rename Boolean constants (i.e. JavaScript constants),
    to 'True' and 'False'. This uncovered a bug in the internal handling
    of True/False labels was fixed (they shouldn't be Values and Torque
    shouldn't conflate Labels with other Declarables, throwing exceptions
    when they're improperly used in the wrong context). Furthermore,
    the internal labels used for True and False for if statements
    have been renamed so that they can't be aliased from user Torque code.
    
    Change-Id: I09dbd2241d2bc2f1daff53862dee1b601810060c
    Reviewed-on: https://chromium-review.googlesource.com/1044370Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#53026}
    dd5cdcee
typed-array.tq 9.09 KB