ClojureScript

Use 'error' function instead of 'assert' for better analyzer error messages

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Using the error function (instead of assert) gives much better error messages since it includes file information and line numbers.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: