# 0106: Expected a function argument type

Compiler expected a valid identifier to follow a colon (`:`) in the [function](https://docs.sannybuilder.com/language/functions) 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](https://docs.sannybuilder.com/language/functions#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
```
