Skip to content

fixes for issue #163#164

Merged
lutzhamel merged 1 commit intodev-1.0.0from
issue-163
Apr 23, 2022
Merged

fixes for issue #163#164
lutzhamel merged 1 commit intodev-1.0.0from
issue-163

Conversation

@lutzhamel
Copy link
Copy Markdown
Collaborator

The fixes now properly show the stack dump. In particular it fixes the stack dump for the following programs. The first one involving member functions,

structure A with
   data a.
   data b.
   function divide with none do
      return this@a/this@b.
   end
end

let o = A(1,A(2,0)).
o@b@divide().

The second one involving lambda functions,

let x = (lambda with i do return i/0) 1.

and the third one involving expression that compute lambda values,

load system io.

function addc with x do return lambda with y do return x + y end
let a = (addc 1) 1.
io @println a.
assert(a is 2).

@lutzhamel lutzhamel merged commit 90010f1 into dev-1.0.0 Apr 23, 2022
@lutzhamel lutzhamel deleted the issue-163 branch April 23, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant