bcc
bcc copied to clipboard
[Generics] Unused nested generics unable to compile
Good day,
Using the following code will cause a lot of compilation errors.
test.mod/generics.mod/generics.bmx
SuperStrict
Module Test.Generics
Framework BRL.Blitz
Import BRL.Collections
Type TTempMap<K, V>
Field map:TTreeMap<K, V> = New TTreeMap<K, V>()
EndType
example.bmx
SuperStrict
Framework BRL.Blitz
Import BRL.StandardIO
Import Test.Generics
Local map:TTempMap<String, String> = New TTempMap<String, String>()
'If map.map
' Print 1
'EndIf
Print "DONE"
If you uncomment the if-block it works.
Thanks!