Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

rename move-stdlib tests to match module names #153

Merged
merged 1 commit into from
May 20, 2022

Conversation

jamesmeijers
Copy link
Contributor

Motivation

#58 #107
The test files ASCIIStringTests.move and OptionsTests.move were misnamed, their filename did not match the the module name within. This caused bug #58 . This is a quick fix, in the long run I don't think the system should not be assuming file names based on module names, even if naming conventions are suggested.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

I tested it locally to ensure the bug was fixed.

@tnowacki
Copy link
Member

@vgao1996 can you confirm this fixes #58 ?

Copy link
Member

@vgao1996 vgao1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tnowacki This fixes the specific case mentioned in #58, but as @jamesmeijers pointed out, does NOT address the general issue. I'll take a look at the package system and try to correct it there.

@vgao1996 vgao1996 merged commit 9cf0de1 into move-language:main May 20, 2022
brson pushed a commit to brson/move that referenced this pull request May 17, 2023
…ence. (move-language#153)

The FunctionContext has grown organically over time and now contains
an unwieldly collection of seven uplevel references to the enclosing
ModuleContext-- including boxed function pointers needed during the
function translation.

This patch replaces all the uplevels with a single reference to the enclosing
ModuleContext and updates all users. This will also simplify the passing of
module-level structures (llvm::Context, llvm::Module) that are commonly needed
in bundles, such as in the rttydesc module. A future patch will make those
sorts of simplifications.
brson pushed a commit to brson/move that referenced this pull request Jul 17, 2023
…ence. (move-language#153)

The FunctionContext has grown organically over time and now contains
an unwieldly collection of seven uplevel references to the enclosing
ModuleContext-- including boxed function pointers needed during the
function translation.

This patch replaces all the uplevels with a single reference to the enclosing
ModuleContext and updates all users. This will also simplify the passing of
module-level structures (llvm::Context, llvm::Module) that are commonly needed
in bundles, such as in the rttydesc module. A future patch will make those
sorts of simplifications.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants