Expecting a LexBuffer<char> but given a LexBuffer<byte> The type 'char' does not match the type 'by

Posted by user152518 on Stack Overflow See other posts from Stack Overflow or by user152518
Published on 2010-04-26T13:53:14Z Indexed on 2010/04/26 13:53 UTC
Read the original article Hit count: 262

Filed under:
|

Type mismatch. Expecting a LexBuffer but given a LexBuffer The type 'char' does not match the type 'byte'

This is the error message that I am getting while using fslex. I have tried manually checking every single occurrence of lexbuf and its type. It's LexBuffer everywhere. But still the compiler is giving me the above error. Can you please tell me why this error occurs and how to go about resolving it.

Thanks, chandrasekhar

© Stack Overflow or respective owner

Related posts about F#

Related posts about fslex