Closed aheber closed 1 month ago
A similar example but different type setup:
public with sharing class Me implements Database.Batchable<SObject> {}
Parse tree:
interfaces: interfaces [0, 29] - [0, 67]
type_list [0, 40] - [0, 67]
generic_type [0, 40] - [0, 67]
scoped_type_identifier [0, 40] - [0, 58]
type_identifier [0, 40] - [0, 48]
type_identifier [0, 49] - [0, 58]
type_arguments [0, 58] - [0, 67]
type_identifier [0, 59] - [0, 66]
Fixed, and both are guarded with new tests
Classes that implement interfaces that aren't pure
type_identifier
lose those interfaces in the formatting.Formats as
Noting the drop of the
namespace.InterfaceName
from the output.The parse tree for that part looks like this: