[Mono-bugs] [Bug 434288] New: Error VBNC30451: Could not resolve the name for internal class into parent
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Oct 10 09:24:36 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=434288
Summary: Error VBNC30451: Could not resolve the name for internal
class into parent
Product: Mono: Compilers
Version: SVN
Platform: i686
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basic
AssignedTo: rkvinge at novell.com
ReportedBy: abatishchev at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Community User
VBNC doesn't add parent class's namespace into child's on inheritance
Here is code example:
Base.vb
Namespace FooSpace
Public Class FooBase
Protected Class FooInternal
'
End Class
End Class
End Namespace
My.vb
Imports FooSpace
Namespace MySpace
Public Class SomeClass
Inherits FooBase
Dim i as FooInternal ' Erorr's here
End Class
End Namespace
Monodevelop output:
vbnc -out:"/home/godfather/Dev/VBTest/bin/Debug/VBTest.exe" -nologo -utf8output
-debug:full -target:exe -r:/usr/lib/mono/2.0/System.dll
"/home/godfather/Dev/VBTest/My.vb" "/home/godfather/Dev/VBTest/Foo.vb"
/home/godfather/Dev/VBTest/My.vb (7,23) : Error VBNC30451: Could not resolve
the name 'FooInternal'
When SomeClass inherits FooBase, FooBase's namespace must be added to
SomeClass's namespace, I guess, and all classes declared into parent, i.e.
FooInternal, must be visible into SomeClass's root namespace without any
additional indication, i.e. without FooBase.FooInternal.
I mean, code Dim i as FooBase.FooInternal compiles without errors. In example
code.
In my real project I got next error: Error VBNC99997: You've encountered
something in the compiler which is not implemented. Please file a bug (see
instructions here: http://mono-project.com/Bugs) pointed to a function with
signature like FooBase.FooInternal
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list