# E4015

Type has no method with the specified name.

## Erroneous Example

```{literalinclude} /sources/error_codes/4015_error/top.mbt
:language: moonbit
```

The above example tries to call an inexistent method `upper()`
on a string literal, giving the following error on line 1:

```
Type String has no method upper.
```

## Suggestion

This is usually a typo or a misunderstanding of the methods available.
Please make sure to use the correct method name:

```{literalinclude} /sources/error_codes/4015_fixed/top.mbt
:language: moonbit
```
