Bug 316068 (MONO66249) - mbas parsing error with methods without parameters
Summary: mbas parsing error with methods without parameters
Status: RESOLVED MOVED
Alias: MONO66249
Product: Mono: Compilers
Classification: Mono
Component: Basic (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Critical
Target Milestone: ---
Assignee: B Anirban
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-20 01:19 UTC by Rogério Pereira Araújo
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:54:16 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"