You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7764 Reporter:@damiendoligez Assigned to:@gasche Status: resolved (set by @gasche on 2018-04-05T20:18:00Z) Resolution: fixed Priority: normal Severity: minor Version: 4.07.0+dev/beta2/rc1/rc2 Fixed in version: 4.07.0+dev/beta2/rc1/rc2 Category: standard library Monitored by:@nojb@hhugo
Bug description
The threshold used by List.init to switch between recursive to tail-rec implementations will cause problems on js_of_ocaml. See #1034 (review) for the original report.
The text was updated successfully, but these errors were encountered:
I thought first of using Sys.backend_type to detect non-standard backends, but in fact js_of_ocaml works with the normal bytecode pipeline first, so I don't think we can distinguish it that way. What about using Sys.runtime_parameters at List-module-initialization-time to check for the stack limit, and define a module-level boolean from this that List.init checks at runtime?
Original bug ID: 7764
Reporter: @damiendoligez
Assigned to: @gasche
Status: resolved (set by @gasche on 2018-04-05T20:18:00Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.07.0+dev/beta2/rc1/rc2
Fixed in version: 4.07.0+dev/beta2/rc1/rc2
Category: standard library
Monitored by: @nojb @hhugo
Bug description
The threshold used by
List.init
to switch between recursive to tail-rec implementations will cause problems on js_of_ocaml. See #1034 (review) for the original report.The text was updated successfully, but these errors were encountered: