> For the complete documentation index, see [llms.txt](https://docs.sannybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sannybuilder.com/troubleshooting/errors/0106.md).

# 0106: Expected a function argument type

Compiler expected a valid identifier to follow a colon (`:`) in the [function](/language/functions.md) signature but found something else.

E.g. consider this example:

```pascal
function foo(value: )
```

`value` parameter must have a type, so the compiler expected something like:

```pascal
function foo(value: int)
```

#### Possible solutions:

* add one of the known [types](/language/functions.md#signature) after the colon:

```pascal
function foo(value: int)
function bar: float
```

* if a function does not have any arguments, use empty braces `()` or omit them entirely:

```pascal
function foo()
function bar
```
