Reputation: 21742
I've been working on a compiler for a while but after changing to PowerPack 1.9.9.9 and the release version of VS2010 I'm no unable to compile the following line:
let lexbuf = Lexing.from_string text
I get the following two error:
"The value, constructor, namespace or type 'from_string' is not defined" pretty obviopus what it's trying to tell me but what's the resolution?
Upvotes: 3
Views: 333
Reputation: 243071
My quick guess is that this function has been renamed to fromString
(because, in general, functions with underscores such as of_seq
are now written in camelCase
).
Upvotes: 4