Bugzilla – Bug 316068
mbas parsing error with methods without parameters
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by rogerio.araujo@gmail.com 2004-09-19 18:19:35 MST ---- When i try to call a method that doesn't has any parameters i got a parsing error, the code is something like this: 'this is the method Sub MontarGrid() dg.DataSource = CriarDataSet() dg.DataBind() End Sub 'this is the method where i call the method above Sub Paginando(sender As Object, e As DataGridPageChangedEventArgs) dg.CurrentPageIndex = e.NewPageIndex 'if i remove the parentesis the mbas compiler raise a parsing error MontarGrid() End Sub Steps to reproduce the problem: 1.Create a method that doesn't has any parameters 2.Call this method without parentesis Actual Results: Parsing error when call a method wihout parentesis Expected Results: No error when call the method without parentesis, because the method has no parameters... Additional Information: This error occurs when i try to run a ASP.NET page with VB.NET code... ---- Additional Comments From banirban@novell.com 2004-09-20 07:44:18 MST ---- There is already a bug (#60401) filed on this. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO60401 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"