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

[SharedTables] Error: undeclared identifier: 'defaultInitialSize' #11588

Closed
Wh1teDuke opened this issue Jun 25, 2019 · 0 comments

Comments

@Wh1teDuke
Copy link
Contributor

commented Jun 25, 2019

Test

import sharedtables
var table: SharedTable[int, int]
init(table)
table[1] = 1

Result

tableimpl.nim(35, 17) Error: undeclared identifier: 'defaultInitialSize'

The value is defined in tables but not in tableimpl


>nim -v
Nim Compiler Version 0.20.99 [Linux: i386]
Compiled at 2019-06-12
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: c07973e313cb701a076bffb890c0777a555ffa16
active boot switches:

@Araq Araq added the Regression label Jun 26, 2019

@narimiran narimiran self-assigned this Jun 26, 2019

narimiran added a commit to narimiran/Nim that referenced this issue Jun 26, 2019

@Araq Araq closed this in 326e3ad Jun 26, 2019

Araq added a commit that referenced this issue Jun 26, 2019

Merge pull request #11598 from narimiran/fix-sharedtables
[bugfix] fix #11588, don't check if SharedTable is initialized

narimiran added a commit that referenced this issue Jun 27, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.