Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to translate @types/ramda #108

Closed
Schahen opened this issue Sep 9, 2019 · 1 comment · Fixed by #388
Closed

Failing to translate @types/ramda #108

Schahen opened this issue Sep 9, 2019 · 1 comment · Fixed by #388
Assignees
Labels
translation-failure failed with exception while translating

Comments

@Schahen
Copy link
Contributor

Schahen commented Sep 9, 2019

While translating https://github.com/DefinitelyTyped/DefinitelyTyped/blob/31929c09c7b4490f87766206b412da4a6a581dc3/types/ramda/index.d.ts I get following error:

[shabunc@shagen dtout]$  dukat  /Users/shabunc/.gradle/definitelyTyped/DefinitelyTyped-31929c09c7b4490f87766206b412da4a6a581dc3/types/ramda/index.d.ts
/usr/local/lib/node_modules/dukat/lib/converter.js:15821
        return root + pathComponents.slice(1).join(ts.directorySeparator);
                                              ^

RangeError: Maximum call stack size exceeded
@Schahen Schahen added bug translation-failure failed with exception while translating labels Sep 9, 2019
@Schahen Schahen removed the bug label May 13, 2020
@trilis trilis self-assigned this Aug 26, 2020
@trilis
Copy link
Contributor

trilis commented Aug 26, 2020

Cause:
index.d.ts

/// <reference path="./es/add.d.ts" />

es/add.d.ts

import { add } from '../index';

So basically just a loop in imports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
translation-failure failed with exception while translating
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants