summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index e91e63c..2c74866 100644
--- a/README.md
+++ b/README.md
@@ -256,6 +256,8 @@ fn add(a: int, b: int) -> int {
// Named arguments supported in calls
add(a: 10, b: 20);
+
+> **Note**: Named arguments must strictly follow the defined parameter order. `add(b: 20, a: 10)` is invalid.
```
#### Default Arguments