Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.
Note that you shouldn't run this! It works but includes loads of unnecessary casting.