Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Printing a composed function abruptly terminates Rascal console #899

Closed
msteindorfer opened this issue Nov 24, 2015 · 1 comment
Closed

Comments

@msteindorfer
Copy link
Member

When composing two functions f and f2 with f o f2, the console is not able to print the result. Instead, it terminates the console abruptly without a message. See complete snippet below.

rascal>int f(int x) = x + 1;
int (int): func(
  int(),
  [int()],
  [],
  {},origin=|prompt:///|(0,21,<1,0>,<1,21>))
rascal>int f2(int x) = x + 1;
int (int): func(
  int(),
  [int()],
  [],
  {},origin=|prompt:///|(0,22,<1,0>,<1,22>))
rascal>(f o f2)(1)
int: 3
rascal>(f o f2)
int (...): 

No trace or error message shown. It just stops.

@jurgenvinju
Copy link
Member

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants