greybel-interpreter 2.6.9 → 2.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,8 @@ class CustomFunction extends base_1.CustomValue {
82
82
  toString() {
83
83
  let refs = 1;
84
84
  const args = this.argumentDefs.map((item) => {
85
- if (item.defaultValue instanceof literal_1.Literal) {
85
+ if (item.defaultValue instanceof literal_1.Literal ||
86
+ item.defaultValue instanceof reference_1.Reference) {
86
87
  const value = item.defaultValue.value;
87
88
  if (value instanceof nil_1.CustomNil) {
88
89
  return item.name;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "greybel-interpreter",
3
- "version": "2.6.9",
3
+ "version": "2.6.10",
4
4
  "description": "Interpreter",
5
5
  "main": "dist/index",
6
6
  "typings": "dist/index",