dream icon indicating copy to clipboard operation
dream copied to clipboard

Fix build failure due to label warning

Open laaksonel opened this issue 2 years ago • 0 comments

Compilation fails due to unlabeled argument p

rescript: [6/6] client/client.cmj
FAILED: client/client.cmj

  Warning number 6 (configured as error)
  .../dream/example/w-fullstack-rescript/client/client.res:14:11-29

  12 │     let p = document->Document.createElement("p")
  13 │     p->Element.setInnerText(text)
  14 │     body->Element.appendChild(p)
  15 │   }
  16 │ }

  label child was omitted in the application of this function.

laaksonel avatar May 26 '22 15:05 laaksonel