Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis12/bugs/open/bug043.diderot
ViewVC logotype

View of /branches/vis12/bugs/open/bug043.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3320 - (download) (annotate)
Sun Oct 18 08:31:08 2015 UTC (4 years, 4 months ago) by glk
File size: 604 byte(s)
output types cant seem to be int or bool
/*
can't seem to have "output int" ?

compiling with: ../../bin/diderotc --exec bug043.diderot
produces:
bug043.c:76:20: error: use of undeclared identifier 'p_ii_0'
    self->sv_out = p_ii_0;
                   ^
1 error generated.
uncaught exception Fail [Fail: error compiling/linking]
  raised at common/phase-timer.sml:76.50-76.52
  raised at common/phase-timer.sml:76.50-76.52
  raised at common/phase-timer.sml:76.50-76.52
  raised at c-util/run-cc.sml:28.17-28.47
*/
strand foo (int ii) {
  output int out = -1;

  update {
    out = ii;
    stabilize;
  }
}

initially [ foo(ii) | ii in 0..3 ];

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0