afrantzis/bless

Error building project: 'Range' is an ambiguous reference

davidcim opened this issue ยท 3 comments

"make" returns this error for 6 source files:

error CS0104: 'Range' is an ambiguous reference between 'System.Range' and 'Bless.Util.Range'

I have solved the issue editing the sources and explicitly choosing which I guess is the right class:

using Range=Bless.Util.Range;

The files where the compiler complains are:

src/buffers/ByteBuffer.cs
src/gui/DataBookFinder.cs
src/gui/areas/AreaGroup.cs
src/tools/find/FindOperations.cs
src/tools/find/IFindStrategy.cs
src/tools/find/IFinder.cs

My mono version is:

Mono JIT compiler version 6.4.0.198 (tarball Tue Sep 24 01:20:30 UTC 2019)

Added a pull request with the fix.

Fixed by 8480198 .

๐Ÿ‘๐Ÿ‘๐Ÿ‘