See https://github.com/eclipse/xtext/pull/2990#issuecomment-2058181195
See #2990 (comment)