marcoscleison / chrest

REST framework for Chapel Language
Apache License 2.0
3 stars 1 forks source link

ChrestClient fails when object contains a datetime #7

Closed buddha314 closed 6 years ago

buddha314 commented 6 years ago

Class object:

  use DateTime;

  class IndexResponse {
    var msg: string,
        n: datetime,
        v: int;
    proc IndexResponse() {}

    proc IndexResponse(msg: string, v:int, n: datetime) {
      this.msg = msg;
      this.n = n;
      this.v = v;
    }
  }

The controller:

  class IndexController:ChrestController {
    proc Get(ref req:Request,ref res:Response) {
      var r = new IndexResponse(msg="yer mama",v=71, n=datetime.now());
      res.SendJson(r);
    }
  }

And the client

  var clientollah = new ChrestClient(API_HOST, API_PORT);
  var res = clientollah.Get("/api/" + API_VERSION);
  var content:IndexResponse= res(IndexResponse);
  writeln("\tContent Get: ", content.msg);

Barfs our

> $CHPL_HOME/modules/standard/IO.chpl:3084: error: unresolved call 'atomic_int64.readThis(channel(false,dynamic,false))'
> $CHPL_HOME/modules/internal/CString.chpl:288: note: candidates are: c_string.readThis(x)
> $CHPL_HOME/modules/internal/String.chpl:527: note:                 string.readThis(f)
> $CHPL_HOME/modules/internal/ChapelRange.chpl:2111: note:                 ref range.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:145: note:                 _syncvar.readThis(x)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:662: note:                 _singlevar.readThis(x)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:983: note:                 aligned_t.readThis(f)
> $CHPL_HOME/modules/internal/ChapelArray.chpl:1708: note:                 _domain.readThis(f)
> $CHPL_HOME/modules/internal/ChapelArray.chpl:2544: note:                 _array.readThis(f)
> $CHPL_HOME/modules/internal/ChapelIO.chpl:715: note:                 chpl_taskID_t.readThis(f)
> $CHPL_HOME/modules/standard/Regexp.chpl:968: note:                 regexp.readThis(f)
> $CHPL_HOME/modules/standard/List.chpl:246: note:                 list.readThis(f)
> $CHPL_HOME/modules/internal/String.chpl:104: note:                 chpl__inPlaceBuffer.readThis(f)
> $CHPL_HOME/modules/internal/String.chpl:124: note:                 __serializeHelper.readThis(f)
> $CHPL_HOME/modules/internal/AtomicsCommon.chpl:23: note:                 atomic_refcnt.readThis(f)
> $CHPL_HOME/modules/internal/ChapelTuple.chpl:43: note:                 _tuple.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:69: note:                 ReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:88: note:                 SumReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:110: note:                 ProductReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:128: note:                 MaxReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:146: note:                 MinReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:164: note:                 LogicalAndReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:182: note:                 LogicalOrReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:200: note:                 BitwiseAndReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:218: note:                 BitwiseOrReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:236: note:                 BitwiseXorReduceScanOp.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:254: note:                 maxloc.readThis(f)
> $CHPL_HOME/modules/internal/ChapelReduce.chpl:279: note:                 minloc.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:353: note:                 _synccls.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:493: note:                 _qthreads_synccls.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:769: note:                 _singlecls.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:877: note:                 chpl_sync_aux_t.readThis(f)
> $CHPL_HOME/modules/internal/ChapelSyncvar.chpl:903: note:                 chpl_single_aux_t.readThis(f)
> $CHPL_HOME/modules/internal/ChapelLocale.chpl:335: note:                 DummyLocale.readThis(f)
> $CHPL_HOME/modules/internal/ChapelLocale.chpl:361: note:                 AbstractLocaleModel.readThis(f)
> $CHPL_HOME/modules/internal/ChapelLocale.chpl:403: note:                 AbstractRootLocale.readThis(f)
> $CHPL_HOME/modules/internal/ChapelLocale.chpl:482: note:                 localesSignal.readThis(f)
> $CHPL_HOME/modules/internal/ChapelLocale.chpl:486: note:                 localesBarrier.readThis(f)
> $CHPL_HOME/modules/internal/DefaultRectangular.chpl:40: note:                 DefaultDist.readThis(f)
> $CHPL_HOME/modules/internal/DefaultRectangular.chpl:93: note:                 DefaultRectangularDom.readThis(f)
> $CHPL_HOME/modules/internal/DefaultRectangular.chpl:638: note:                 _remoteAccessData.readThis(f)
> $CHPL_HOME/modules/internal/DefaultRectangular.chpl:848: note:                 LocRADCache.readThis(f)
> $CHPL_HOME/modules/internal/DefaultRectangular.chpl:881: note:                 DefaultRectangularArr.readThis(f)
> $CHPL_HOME/modules/internal/ChapelArray.chpl:843: note:                 dmap.readThis(f)
> $CHPL_HOME/modules/internal/ChapelArray.chpl:869: note:                 _distribution.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:30: note:                 BaseDist.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:170: note:                 BaseDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:365: note:                 BaseRectangularDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:390: note:                 BaseSparseDomImpl.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:550: note:                 BaseSparseDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:608: note:                 BaseAssociativeDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:624: note:                 BaseOpaqueDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:639: note:                 BaseArr.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:767: note:                 BaseArrOverRectangularDom.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:791: note:                 BaseRectangularArr.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:805: note:                 BaseSparseArr.readThis(f)
> $CHPL_HOME/modules/internal/ChapelDistribution.chpl:829: note:                 BaseSparseArrImpl.readThis(f)
> $CHPL_HOME/modules/internal/LocaleTree.chpl:29: note:                 chpl_localeTreeRecord.readThis(f)
> $CHPL_HOME/modules/internal/DefaultAssociative.chpl:36: note:                 chpl_TableEntry.readThis(f)
> $CHPL_HOME/modules/internal/DefaultAssociative.chpl:54: note:                 DefaultAssociativeDom.readThis(f)
> $CHPL_HOME/modules/internal/DefaultAssociative.chpl:559: note:                 DefaultAssociativeArr.readThis(f)
> $CHPL_HOME/modules/internal/DefaultSparse.chpl:28: note:                 DefaultSparseDom.readThis(f)
> $CHPL_HOME/modules/internal/DefaultSparse.chpl:349: note:                 DefaultSparseArr.readThis(f)
> $CHPL_HOME/modules/internal/DefaultOpaque.chpl:63: note:                 DefaultOpaqueDom.readThis(f)
> $CHPL_HOME/modules/internal/DefaultOpaque.chpl:156: note:                 DefaultOpaqueArr.readThis(f)
> $CHPL_HOME/modules/internal/ChapelError.chpl:120: note:                 chpl_TaskErrors.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewSlice.chpl:32: note:                 ArrayViewSliceArr.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewRankChange.chpl:50: note:                 ArrayViewRankChangeDist.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewRankChange.chpl:118: note:                 ArrayViewRankChangeDom.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewRankChange.chpl:413: note:                 ArrayViewRankChangeArr.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewReindex.chpl:35: note:                 ArrayViewReindexDist.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewReindex.chpl:100: note:                 ArrayViewReindexDom.readThis(f)
> $CHPL_HOME/modules/internal/ArrayViewReindex.chpl:320: note:                 ArrayViewReindexArr.readThis(f)
> $CHPL_HOME/modules/internal/LocaleModelHelpSetup.chpl:43: note:                 chpl_root_locale_accum.readThis(f)
> $CHPL_HOME/modules/internal/LocaleModelHelpRuntime.chpl:38: note:                 chpl_localeID_t.readThis(f)
> $CHPL_HOME/modules/internal/LocaleModelHelpRuntime.chpl:45: note:                 chpl_comm_on_bundle_t.readThis(f)
> $CHPL_HOME/modules/internal/LocaleModelHelpRuntime.chpl:48: note:                 chpl_task_bundle_t.readThis(f)
> $CHPL_HOME/modules/standard/Regexp.chpl:344: note:                 qio_regexp_options_t.readThis(f)
> $CHPL_HOME/modules/standard/Regexp.chpl:384: note:                 qio_regexp_string_piece_t.readThis(f)
> $CHPL_HOME/modules/standard/Regexp.chpl:510: note:                 stringPart.readThis(f)
> $CHPL_HOME/modules/standard/Regexp.chpl:531: note:                 reMatch.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:5594: note:                 _channel_regexp_info.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:746: note:                 iostyle.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:1057: note:                 qio_conv_t.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:1252: note:                 file.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:1901: note:                 channel.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:4254: note:                 ItemReader.readThis(f)
> $CHPL_HOME/modules/standard/IO.chpl:4294: note:                 ItemWriter.readThis(f)
> $CHPL_HOME/modules/standard/List.chpl:30: note:                 listNode.readThis(f)
> $CHPL_HOME/modules/standard/Sys.chpl:215: note:                 sys_sockaddr_t.readThis(f)
> $CHPL_HOME/modules/standard/Sys.chpl:223: note:                 sys_addrinfo_t.readThis(f)
> note:                 object.readThis(f)
> /Users/buddha/github/buddha314/numsuch/src/NumSuch.chpl:64: note:                 BiMap.readThis(f)
> /Users/buddha/github/buddha314/numsuch/src/Core.chpl:8: note:                 LabelMatrix.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:389: note:                 SeedGenerator.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1318: note:                 pcg_setseq_64_xsh_rr_32_rng.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1529: note:                 pcg_setseq_64_rxs_m_xs_64_rng.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1592: note:                 pcg_setseq_32_rxs_m_xs_32_rng.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1655: note:                 pcg_setseq_16_rxs_m_xs_16_rng.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1718: note:                 pcg_setseq_8_rxs_m_xs_8_rng.readThis(f)
> $CHPL_HOME/modules/standard/Random.chpl:1826: note:                 pcg_setseq_N_rxs_m_xs_N_rng.readThis(f)
> /Users/buddha/github/buddha314/numsuch/src/PeelPropagation.chpl:10: note:                 PeelPropagationModel.readThis(f)
> /Users/buddha/github/buddha314/numsuch/src/MatrixOps.chpl:12: note:                 NamedMatrix.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:49: note:                 ModelEngine.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:305: note:                 Row.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:469: note:                 ModelRelationInfo.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:484: note:                 Model.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:713: note:                 ColumnInfo.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:725: note:                 ConnectionBase.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:792: note:                 CursorBase.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:1619: note:                 Connection.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:1625: note:                 Cursor.readThis(f)
> /Users/buddha/github/cdo/src/Cdo.chpl:1633: note:                 QueryBuilder.readThis(f)
> $CHPL_HOME/modules/packages/LinearAlgebra.chpl:1411: note:                 _SPA.readThis(f)
> $CHPL_HOME/modules/layouts/LayoutCS.chpl:28: note:                 _ColumnComparator.readThis(f)
> $CHPL_HOME/modules/layouts/LayoutCS.chpl:72: note:                 CS.readThis(f)
> $CHPL_HOME/modules/layouts/LayoutCS.chpl:91: note:                 CSDom.readThis(f)
> $CHPL_HOME/modules/layouts/LayoutCS.chpl:571: note:                 CSArr.readThis(f)
> /Users/buddha/github/buddha314/numsuch/src/Stats.chpl:7: note:                 ECDF.readThis(f)
> $CHPL_HOME/modules/packages/Sort.chpl:812: note:                 DefaultComparator.readThis(f)
> $CHPL_HOME/modules/packages/Sort.chpl:834: note:                 ReverseComparator.readThis(f)
> $CHPL_HOME/modules/standard/GMP.chpl:1092: note:                 GMPRandom.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:102: note:                 tm.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:213: note:                 date.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:482: note:                 time.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:793: note:                 datetime.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:1377: note:                 timedelta.readThis(f)
> $CHPL_HOME/modules/standard/DateTime.chpl:1603: note:                 TZInfo.readThis(f)
> $CHPL_HOME/modules/packages/SharedObject.chpl:60: note:                 ReferenceCount.readThis(f)
> $CHPL_HOME/modules/packages/SharedObject.chpl:88: note:                 Shared.readThis(f)
> $CHPL_HOME/modules/standard/Time.chpl:140: note:                 Timer.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:35: note:                 PgConnection.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:188: note:                 PgCursor.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:697: note:                 PgQueryBuilder.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1123: note:                 FILE.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1128: note:                 pg_int64.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1139: note:                 PGVerbosity.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1142: note:                 PGPing.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1145: note:                 PGconn.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1148: note:                 PGresult.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1151: note:                 PGcancel.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1154: note:                 PGnotify.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1157: note:                 PQnoticeReceiver.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1160: note:                 PQnoticeProcessor.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1163: note:                 pqbool.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1166: note:                 PQprintOpt.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1169: note:                 PQconninfoOption.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1172: note:                 PQArgBlock.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1175: note:                 PGresAttDesc.readThis(f)
> /Users/buddha/github/cdo/src/Postgres.chpl:1227: note:                 pgthreadlock_t.readThis(f)
> ../src/Models.chpl:4: note:                 SetUpReport.readThis(f)
> ../src/Models.chpl:54: note:                 IndexResponse.readThis(f)
> /Users/buddha/github/buddha314/chingon/src/Chingon.chpl:33: note:                 Graph.readThis(f)
> /Users/buddha/github/buddha314/chingon/src/Chingon.chpl:623: note:                 Crystal.readThis(f)
> ../src/API.chpl:26: note:                 IndexController.readThis(f)
> ../src/API.chpl:37: note:                 EdgeController.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/Chrest.chpl:59: note:                 Chrest.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:27: note:                 event_base.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:28: note:                 evhttp.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:29: note:                 evhttp_connection.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:30: note:                 evdns_base.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:32: note:                 evbuffer.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:33: note:                 evkeyvalq.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:39: note:                 evhttp_request.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/httpev.chpl:76: note:                 evhttp_uri.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestRouter.chpl:23: note:                 Router.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestRouter.chpl:466: note:                 RoutePattern.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestRequestResponse.chpl:30: note:                 Request.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestRequestResponse.chpl:197: note:                 Response.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestMiddlewares.chpl:29: note:                 ChrestMiddleware.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestMiddlewares.chpl:35: note:                 ChrestMiddlewareInterface.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestMiddlewares.chpl:39: note:                 FileMiddleware.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestControllers.chpl:19: note:                 ChrestController.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestControllers.chpl:51: note:                 ChrestControllerInterface.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestLogger.chpl:5: note:                 Logger.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestLogger.chpl:38: note:                 LoggerEngine.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestLogger.chpl:42: note:                 DefaultLogger.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestClient.chpl:63: note:                 ClientResponse.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestClient.chpl:147: note:                 ClientRequest.readThis(f)
> /Users/buddha/github/buddha314/chrest/src/ChrestClient.chpl:378: note:                 ChrestClient.readThis(f)
> $CHPL_HOME/modules/standard/Spawn.chpl:175: note:                 subprocess.readThis(f)
[Error matching compiler output for /Users/buddha/github/q/ayatollah/test/api-test]
ben-albrecht commented 6 years ago

@buddha314 - in general, unresolved call errors can be pruned after 1-2 lines :)

e.g.

> $CHPL_HOME/modules/standard/IO.chpl:3084: error: unresolved call 'atomic_int64.readThis(channel(false,dynamic,false))'
> $CHPL_HOME/modules/internal/CString.chpl:288: note: candidates are: c_string.readThis(x)
> $CHPL_HOME/modules/internal/String.chpl:527: note:                 string.readThis(f)

I don't have any ideas yet... Is there an atomic anywhere in your code? I don't see any atomics in Chrest...

buddha314 commented 6 years ago

R e a l l y ,

B e n ?

I

d i d

n o t

k n o w

t h a t ! !

T h a n k s

f o r

t h e

t i p !

marcoscleison commented 6 years ago

Hi, I will investigate the issue.

marcoscleison commented 6 years ago

Hi @buddha314 and @ben-albrecht . I would like to thank you both because of all help and support.

I tried to reproduce the issue without success. I copied the @buddha314 class and put in a demo. It compiled very well and serialized too.

https://github.com/marcoscleison/chrest/blob/7fcdc9caddfde0c4abe98d8f35b6670f583bea56/examples/demo2/client/src/cli.chpl#L41

https://github.com/marcoscleison/chrest/blob/7fcdc9caddfde0c4abe98d8f35b6670f583bea56/examples/demo2/server/src/srv.chpl#L25 @ben-albrecht is right. I do not use atomic in Chrest yet. So, if you have some clue on what is wrong, share with us. I will mantain this issue open until you give me a word. Thanks.

buddha314 commented 6 years ago

When was the last time you pulled the chapel source? I'll try again today. Also, I'm running on a Mac so it could be the capitalization issue again.

marcoscleison commented 6 years ago

Hi, I sent just now the Demo. Due to my tasks here there some days that I do not pull anything.

buddha314 commented 6 years ago

Well, okay, let's close this. I just got it to compile. I have no idea why it works now, hoping it was just and intermittent compiler issue or something.

ben-albrecht commented 6 years ago

I have no idea why it works now, hoping it was just and intermittent compiler issue or something.

The Chapel compiler works in mysterious ways.