-
[RFC](https://github.com/rust-lang/rfcs/pull/1558)
Summary:
> A closure that does not move, borrow, or otherwise access (capture) local variables should be coercable to a function pointer (fn).
…
-
```
@test
def empty01: Bool = assert!(Set.eq(Set.empty(), #{}))
```
```
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
Set.mem…
-
I started hitting the recursion limit with the following macro (which isn't actually complete yet either)
``` rust
use nixtest::assert_errno_eq;
use libc::c_int;
macro_rules! check_errno…
-
[This program](https://gist.github.com/alexcrichton/8406d47f929dddd26c077a9ffac62a8a) compiles successfully on stable but hits the recursion limit on beta/nightly. This seems like a regression where w…
-
Our DSL allows the user to freely define and compose multiple program fragments. This feels similar to functions in other languages, but requires a very different approach when compiling. Below is an …
-
I have added the following to `Codegen`:
```
case Expression.FNil(tpe, loc) =>
// Call the static method ca.uwaterloo.flix.runtime.value.FNil.get().
???
case Expression.FList(hd, …
-
Because `mem::transmute` checks its constraints before monomorphization, it fails for types containing fields whose type is determined by a generic parameter:
> cannot transmute to or from a type tha…
-
I want to be able to recompile only dependencies (rather than everything in a crate), like SML's compilation manager or GHC's `--make` mode. I don't really care about the approach so long as it works …
-
Hello everyone,
while trying to refactor a small toy project [(Link)](https://github.com/mglagla/calcium), I've hit a bug where the compiler never finishes compiling:
```
calcium $ cargo rustc -Ztim…
-
[Given](http://www.purescript.org/learn/ffi/#handling-constrained-types):
``` purs
inOrder :: forall a. (Ord a) => a -> a -> Tuple a a
inOrder a1 a2 | a1 < a2 = Tuple a1 a2
inOrder a1 a2 = Tuple a2 a…