elm/core

potential runtime exceptions

Opened this issue · 0 comments

Runtime exceptions fixable by design changes to core

#909 1 % 0 intentionally throws a runtime exception
#378 Malformed regular expressions
#381 Signal.mergeMany []

Runtime exceptions fixable by core bugfixes

#811 Json.Encode with "ctor" and ==
#723 certain Debug.toString inputs
#399 Array.slice beyond the end for Arrays with length 32 or more
#183 toString Json.Encode.null
#294 Json.Encode.null == Json.Encode.object [] (and other comparisons of null with non-null)
#177 Broken eq on some unicode strings

Runtime exceptions from packages outside core

https://github.com/elm-lang/virtual-dom/issues/106 invalid DOM attributes

Runtime exceptions from compiler issues

elm/compiler#1145 calling == on two functions
elm/compiler#1570 duplicate record fields in strict mode
elm/compiler#1559 union type constructor with . in it
elm/compiler#1574 calling _Tuple directly
elm/compiler#1516 valid recursion

Runtime exceptions that should continue to exist

  • #1052 - RangeError from JS on too large strings
  • Debug.todo - intentionally causes runtime exceptions, so shouldn't change
  • Infinite recursion/stack overflow - this is a Comp Sci problem, not an Elm problem