#value is not allowed in type parameter

This code is failing compilation.

type a<'a> = A

let strVar: a<string> = A
let intVar: a<int> = A
type customType = [#customTag]
let customVar: a<#customTag> = A

Is this is a issue ? because It feels like a issue where we cannot use a #value in type parameter.

Missing brackets: let customVar: a<[#customTag]> = A

2 Likes