WEB-9953 Dart: types completion is broken in some cases