substrate-lang 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,13 +8,13 @@ roots.02808ca2c6a7@0+0
8
8
  running.7f03ff780e03@0+0
9
9
  core.11abd90bead5@0+0
10
10
  ops.a5b9269c5240@0+0
11
- checker.73d84d96c58b@0+0
11
+ checker.343075746d8c@0+0
12
12
  leb128.0d2a247f239f@0+0
13
13
  binary.5d81a93450b2@0+0
14
14
  serialize.f4354af92feb@0+0
15
15
  compile.2db0f824839f@0+0
16
16
  link.3c4158bb6ba3@0+0
17
17
  macros.6f0e1a78d640@0+0
18
- expander.570faeb51e05@0+0
18
+ expander.c0f36d0bd5fc@0+0
19
19
  prune.f800615ca8cc@0+0
20
- main.1b378cf3c2a5@0+0
20
+ main.cf521803fc5e@0+0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "substrate-lang",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "A Lisp for writing WebAssembly, and the substrate command that builds, runs and tests it",
5
5
  "license": "MIT",
6
6
  "repository": {
package/substrate/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
@@ -349,7 +349,7 @@
349
349
  [_ #f]))
350
350
 
351
351
  (define (scalar! [t datum] [where datum]) -> datum
352
- (unless (or (arithmetic? t) (address-type? t) (== t 'exnref) (== t 'bool) (view-type? t))
352
+ (unless (or (arithmetic? t) (address-type? t) (== t 'exnref) (== t 'bool) (view-type? t) (and (pair? t) (== (car t) 'tvar)))
353
353
  (substrate-error where "expected a number or pointer type, not ~s" `(,(shown t))))
354
354
  t)
355
355