You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current flags interface in file formats (TranslationUnit) returns strings. The only reason for this is that this API predates the introduction of the Flags object. This makes inheritance unnecessary complex and brings in repeated Flags parsing and serializing.
Describe the solution you would like
Change TranslationUnit.flags to return Flags objects.
Describe the problem
The current
flags
interface in file formats (TranslationUnit
) returns strings. The only reason for this is that this API predates the introduction of theFlags
object. This makes inheritance unnecessary complex and brings in repeatedFlags
parsing and serializing.Describe the solution you would like
TranslationUnit.flags
to returnFlags
objects.Unit.update_source_unit
.Describe alternatives you have considered
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: