I need help for an error "Should extend by using a class"

Please see the below haxe code:

import flash.utils.Dictionary;

class HashMap extends Dictionary <String, Dynamic> implements IMap

public function new(param1 : Bool = true)


However, it always say “Should extend by using a class”. I think Dictionary is a class. Why openfl doesn’t think it is a class?

Dictionary ain’t a class it’s an Abstract.

Thank you for your reply! Dictionary is an Abstract type, not a class. I have to change code. Thank you again!

Peter Zhou