Skip to content
#

language

Here are 4,032 public repositories matching this topic...

sandersn
sandersn commented Feb 11, 2021

Found when debugging a different mysterious commonjs bug with @elibarzilay:

  1. Install @types/node for this repro. I couldn't get it to repro on a local module, but I think I'm missing something fairly simple.
// @filename: ns.ts
namespace myAssert {
    export type cool = 'cool'
}
var myAssert = require('assert')

// @filename: test.js
exports.equal = myAssert.equal
exports.e
Nim
TRcorp
TRcorp commented Jun 25, 2020
### Example
let unreachableProxy = "http://127.0.0.1:8888"
try:
  let client = newHttpClient(proxy=newProxy(unreachableProxy), timeout=1)
  var res = client.getContent("https://github.com")
  echo res
except:
  echo "Timed out"

Current Output

timeout variable is ignored, program stuck until default socket timeout will happen

Expected Output

Timed out a

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Feb 13, 2021
  • Red

Improve this page

Add a description, image, and links to the language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the language topic, visit your repo's landing page and select "manage topics."

Learn more