# `syntax.named_argument_duplicate`

Named argument is given twice.

Area 3, [Logic](../topics/logic.md); not declinable; the next step is usually the agent's.

```jadpo
type Day = CalendarDate {}

function london_morning(date: Day) -> Instant {
    return temporal.resolve(
        date: date,
        at: "09:00",
        zone: Zone.europe_london,
        zone: Zone.europe_london,
        dst: Dst.earlier
    )
}
```

```text
error: `zone:` is given twice
 --> main.jadpo:8:9
  |
7 |         zone: Zone.europe_london,
  |         ---- first given here
8 |         zone: Zone.europe_london,
  |         ^^^^ given again here
  reason: Each named argument is given once.
  next: Remove one of the `zone:` arguments (agent)
  rule: syntax.named_argument_duplicate
  help: https://jadpo.dev/docs/errors/syntax.named_argument_duplicate

check failed: 1 error, 1 file
```
