Bruce Mitchener
Bruce Mitchener
I sort of wish there was an `assert_valid_index!` here just to make it a bit more clear and reduce repetition. Thoughts?
I will try to take a look at this this week. But if others can as well, that would be great. (And @zimond, this crate is maintained again ... so...
@fitzgen Would you like to revisit this and we can work on getting it landed for 0.5?
I'm lazy. Can I have a couple of lines of Dylan that I can copy-paste into a hello world that demonstrate the issue?
Error with LLVM back-end: ``` Generating code for library string-aref-test computation t42 := [PRIMOP raw-as-byte-character(^'c')]: Error: No applicable method, applying {generic function llvm-integer-type-width () => (#rest)} to #[{ #x01C4CD60 i8*}]....
This may be in similar code to what is discussed in #289.
The issue here is that something like this doesn't work: ``` dylan do-directory(some-function, ".") ``` That's because that version of `do-directory` does `as(, ".")` which doesn't do the right thing....
This happens when you have a slot that has an init expression and a `required-init-keyword:`: ``` dylan slot foo = #f, required-init-keyword: foo:; ```
This is related to the `raw slot` defined in the `` class in `sources/collections/bit-set.dylan`.
The DFM for the two functions is: ``` dylan METHOD current-word-setter (word :: , state :: , #next next-method) => (word :: ) t2 := [PRIMOP cast-raw-as-pointer({{ word }})] [PRIMOP...