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
This is a documentation issue (I thought there were documented outside the fact, but couldn't find the reference again). I updated the PR to reflect that this is not a bug.
The new chapter on polymorphic functions and types introduces explicitly the notion of weakly polymorphic types (which were already mentionned in the FAQ of the compiler chapter).
Original bug ID: 6225
Reporter: DYNO_doxa
Assigned to: @Octachron
Status: resolved (set by @Octachron on 2017-10-16T06:58:35Z)
Resolution: fixed
Priority: low
Severity: minor
Platform: i386
OS: XP
OS Version: SP3
Version: 4.01.0
Fixed in version: 4.06.0 +dev/beta1/beta2/rc1
Category: documentation
Tags: junior_job
Related to: #5607
Bug description
Defining
let new_array = Array.make 7
returns a surprising type
'_a -> '_a array
that is not documented in the manual.
Steps to reproduce
compile and see:
module Days = struct
let newArrayOf = Array.make 7
end
The text was updated successfully, but these errors were encountered: