Skip to content

[interop] Modules claim to have source locations, but they're actually "null" #2257

Closed
@fniephaus

Description

@fniephaus

Here're steps for reproduction:

$ polyglot --jvm --shell
GraalVM MultiLanguage Shell 21.0.0
Copyright (c) 2013-2020, Oracle and/or its affiliates
  Ruby version 2.7.2
  Squeak/Smalltalk version 21.1.0-dev
ruby> Truffle::Interop.has_source_location?(Array)
true
ruby> Truffle::Interop.source_location(Array)
null
ruby> Truffle::Interop.has_source_location?(ObjectSpace)
true
ruby> Truffle::Interop.source_location(ObjectSpace)
null

Metadata

Metadata

Assignees

Labels

polyglotUses multiple Truffle languages or host interop

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions