This website requires JavaScript.
Cadquos
Explore
Marketplace
Help
Register
Sign In
Cadquos
Development
Main Navigation
🏠
Dashboard
🏢
Organizations
8
📁
Repositories
8
👥
Team
🗓️
Calendar
Workspace
📝
작업메모
🚀
시작하기
📝
빠른 메모
👻
나의 공간
3
📝
작업목록
Settings
Connections
Public Pages
Notifications
3
Help Center
John Smith
john@example.com
ByoungSooPark
/
modeling-app
Watch
1
Star
0
Fork
0
You've already forked modeling-app
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
1fe1cfb3970a8472264aa9675adcfe135d31640e
modeling-app
/
rust
/
kcl-lib
/
tests
/
argument_error
/
input.kcl
6 lines
39 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Make = and => optional in function declarations (#4577) * Make `=` and `=>` optional in function declarations And requires `:` for return types Signed-off-by: Nick Cameron <nrc@ncameron.org> * Tests Signed-off-by: Nick Cameron <nrc@ncameron.org> * Format types in function decls Signed-off-by: Nick Cameron <nrc@ncameron.org> * Require in anon function decls Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
2024-11-27 15:46:58 +13:00
fn f(i) {
Fix argument error to point to the arg at the call site (#4533) * Fix argument error to point to the arg at the call site * Change MemoryFunction to accept Vec<Arg> instead of Vec<KclValue> * Rename variable to be clearer * Fix one more argument error message * Clean up from PR feedback
2024-11-21 13:10:03 -05:00
return 5
}
map(f, [0, 1])
Reference in New Issue
Copy Permalink