[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2839: Add flag or option to allow integer divide not generate ambiguous error


http://gambaswiki.org/bugtracker/edit?object=BUG.2839&from=L21haW4-

Comment #5 by Brian G:

Seems to be some error in the implementation

This :

' Gambas module file

Public Sub Main()

    Print "Hello world"

    Dim a As Integer = 5 \ 2 * 3 / 6
    Print a

End


gives this error:
Unable to find method Application_error in class Main. Symbol not found (main:7)

I have attached a small app as example

----------------------------------------------------------------------------

Attachment: testOrderOperation-0.0.1.tar.gz

Brian G changed the state of the bug to: Opened.



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----