jade-lang 0.11.1 → 0.11.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c07abf955aeeae107bd0cbb0f2f9ba95aab3c9240946e96d69521c2ae406f56b
4
- data.tar.gz: a6750f4f9734070babfde95fa657a37cec27acc43c705742b63b58691f4c225a
3
+ metadata.gz: 8e5a1b96ecfb6952330c6dcb8bd01b6994b0ca8cff936a59112d5c9606412bd4
4
+ data.tar.gz: 066f030bb094a9d73b17acb2754f59aed7fc1bb3204e2f68be0df5e2830ad037
5
5
  SHA512:
6
- metadata.gz: c485c3028caa4b4ad1da0abd708c9c6c1b935ed26a242f19efbc5440f3e9a46e6236cf9e93912e870c941ba64096ae488499ce351c0dfd04a75084a6e8b9f6c1
7
- data.tar.gz: 2176bf5dc17eacdbbc902a3243e8676c2232350846a45913181489ee74ea6ff9f576d9278b0f5bfaffb1d235c7d8337ce6ebd0d03ff141e23d3bc74b95f2f8dd
6
+ metadata.gz: b1c1f5397cfab8dafce1c63ee630c7032995be651c0ea2fcb7af51e2cff134a0f8b94c21897f53cf561c5106906c56c2267f2275d57ba6e42d6a6e7b013d003d
7
+ data.tar.gz: b29cbd43c8125fa086563761c9935cd3cf207ad0d10749fe701c129d0660023323698cead0c48d3bea559ee27b31441fa41c00f6697725a634c326f23777f771
data/CHANGELOG.md CHANGED
@@ -4,6 +4,24 @@ All notable changes to this project are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
5
5
  adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.11.2] - 2026-09-15
8
+
9
+ ### Fixed
10
+
11
+ - **A constraint raised inside a field access reached nothing.**
12
+ `RecordAccess` built its result from the expected type alone, so whatever
13
+ the target raised was dropped at the dot. A function whose body is
14
+ `to_sel(q).cols` therefore recorded no constraint of its own: it took no
15
+ dictionary parameter, and the interface call inside it fell through to
16
+ `Runtime.impl_for`, which keys on the argument's own class. That dispatches
17
+ on `Q` when the interface is over the `c` inside it, and fails at the first
18
+ call — at run time, though both the types and the call sites were settled
19
+ when it compiled.
20
+
21
+ Deleting the `.cols` from the same program made it work, which is the
22
+ asymmetry that gave it away. It matters wherever an interface is over a type
23
+ a struct holds rather than the struct itself.
24
+
7
25
  ## [0.11.1] - 2026-09-15
8
26
 
9
27
  ### Added
@@ -24,7 +24,7 @@ module Jade
24
24
  )
25
25
  end
26
26
 
27
- Result.init(expected_.type)
27
+ Result.init(expected_.type, target_result.constraints)
28
28
  .then { it.apply(after_state.env.substitution) }
29
29
  .then { [after_state, it] }
30
30
  end
data/lib/jade/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jade
2
- VERSION = '0.11.1'
2
+ VERSION = '0.11.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jade-lang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agustin Cornu