# Sema: implement \`@typeInfo\` for functions · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/a7221ef4e902e63e72524559a067afcf6c1dfd17)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: a7221ef4e902e63e72524559a067afcf6c1dfd17

Requested commit: a7221ef4e902e63e72524559a067afcf6c1dfd17

Commit: a7221ef4e902e63e72524559a067afcf6c1dfd17

Tree: e3cbbbd7bd87409c8da573ecefa7174939ed8020

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: implement `@typeInfo` for functions

The goal is to get start code to be able to inspect the calling
convention of `main` in order to determine whether to export a main for
libc to call, or to allow the root source file to do it.

```

## Parents

- [3acd98fa3423d67cdce7118bc6abe736309e71df](https://git.cafe/gitcafe/zig/commit/3acd98fa3423d67cdce7118bc6abe736309e71df?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/a7221ef4e902e63e72524559a067afcf6c1dfd17?format=markdown)
