boo-lang / boo

The Boo Programming Language.
BSD 3-Clause "New" or "Revised" License
874 stars 148 forks source link

Bogus "Duplicate namespace" warning when using partial types #155

Closed masonwheeler closed 8 years ago

masonwheeler commented 8 years ago

Module 1:

import System

partial class MyClass:
   def constructor():
      print 'Hello MyClass!'

Module 2:

import System

partial class MyClass(object):
   override def ToString():
      return 'Hello from MyClass!'

Expected: this should compile without trouble.

Observed: compiler warning

Duplicate namespace: 'System'. (BCW0008)