Psilon
                                            Psilon
                                        
                                    I actually don't see why any special syntax is required here. This is a perfectly valid C# code ```cs int? obj = null; if (!(obj is int i)) { //...
There is a comment about its format: > If your function returns multiple values, like (int quotient, int remainder) then use multiple @return statements in the same format as the...
Right, but it still should possible to add comment to function result, even if it's anonymous. It should be then somehing like: ```js result.name // undefined result.description // 'Some value'...
@tkaitchuck I actually think this issue might be relevant: https://internals.rust-lang.org/t/slower-code-with-c-target-cpu-native/17315/7
+1. Trying to import `IUniswapV3Pool` and still unable to do this. Variations i've tried so far ```js const IUniswapV3Pool = artifacts.require('@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool'); const IUniswapV3Pool = artifacts.require('@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool.json'); const IUniswapV3Pool = artifacts.require('node_modules/@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool.json'); const...
i've spend a couple of hours solving this and the closest I could get was: ```js const IUniswapV3Pool = artifacts.require('../node_modules/@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol:IUniswapV3Pool'); ``` It still fails since `true-case-path` can't figure out `..`,...
Hmm, I should take a look. Thanks!
Well I can only talk for myself but I'd like to have full NPM packages support. I didn't manage to get this working and then abandoned the idea, switching to...
I would imagine it as I write `yarn add @uniswap/v3-core` in terminal, and once I did it I can use it like this in code: ```js const IUniswapV3Pool = artifacts.require('@uniswap/v3-core/artifacts/contracts/interfaces/IUniswapV3Pool.sol/IUniswapV3Pool');...
@eggplantzzz > So actually if the npm package contains built Truffle artifacts (the JSON files that get created during truffle compile) you should be able to do artifacts.require() and it...