-
Mutually recursive pure functions cause an error:
`[Prusti internal error] Prusti encountered an unexpected internal error`
`Details: Rust function m_bug$$mutually_recursive_pure_fn$$f encoded both …
-
### Godot version
4.3.stable
### godot-cpp version
4.3.stable
### System information
Windows 10
### Issue description
**Context**
I'm creating an editor plugin with GDExtension that involves w…
-
@virjilakrum Can you revise your work to follow the guidelines provided below, thanks.
You can convert this task to an issue in a repository.
---
The approach we use is like this:
- we create modul…
fybx updated
2 months ago
-
~~~tsx
import React from 'react';
import ReactDOM from 'react-dom';
import { reactiveView } from '@risingstack/react-easy-state';
@reactiveView
class MyForm {
inputText = 'change me';
v…
-
This is what pure means:
1. no destructive operations on parameters
2. all parameters must be guaranteed from being changed from the outside (immutable?)
2. no calls to any other callback/function/…
-
> Something to note is that you can transform some impure functions into pure ones by delaying evaluation:
```
var pureHttpCall = memoize(function(url, params) {
return function() {
return $.ge…
-
Prusti panics on the following program instead of reporting an error.
```rust
use prusti_contracts::*;
#[pure]
#[trusted]
fn test1(x: String) {} // Expected error: argument must be Copy
fn…
-
Currently most of our testing is integration tests, and even that's not very good after styling changes broke some of them, but I've been wanting to get some doc tests written and this seems like a go…
-
The following program is not supported because of the creation of a shared reference in `contains`, which is then also used as argument in a pure function call. Encoding pure function parameters as sn…
fpoli updated
3 years ago
-
Builtin functions that are side-effect free can trivially be modified to return abstract values if one or more of their arguments are abstract.
See pull request #1110 for a model of how to do this.…