Boo

No BCW0004 warning "rhs of `is` is a type reference" when type is generic

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.8.2, 0.9
  • Fix Version/s: 0.9
  • Component/s: Compiler
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    0

Description

Currently, first "is" rightfully issues a warning but the second is not :

import System.Collections
import System.Collections.Generic

l = ArrayList()
print l is ArrayList

t = List[of string]()
print t is List[of string]

(reported by Eric Butler)

Activity

Hide
Cedric Vivier added a comment -

fixed in rev. 3007

Show
Cedric Vivier added a comment - fixed in rev. 3007

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: