Pages

Friday, May 11, 2012

Name restriction

Today I got a customer report about a wired error message generated when using reference cell.

the code is like:

module AA
let a = ref 0
let get_a() = !a

this will report the duplicated definition of a, actually it is not. For now the workaround is to rename the function to something difference. We are fixing it.

No comments: