nearprotocol / assemblyscript

A TypeScript to WebAssembly compiler 🚀
https://assemblyscript.org
Apache License 2.0
8 stars 1 forks source link

Handle default parameters in exported functions #70

Closed willemneal closed 3 years ago

willemneal commented 4 years ago

E.g

/** Default argument */
export function defaultString(id: string = "test"): bool {
  return id == "test";
}

Current it is assumed that the data passed includes data for all parameter.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!