3
votes

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?

2

2 Answers

4
votes

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).

2
votes

Lexing.LexBuffer<_>.FromString ?