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
1
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

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
Powered by Gitea Version: 1.25.0+dev-176-gd179de641c Page: 23ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API