Branch: refs/heads/master
Revision: a98cd56
Author: mppf
Log Message:
Merge pull request #16447 from mppf/remove-deprecated-features
Remove deprecated features
Removes support for several features deprecated in 1.22 or earlier:
-
proc ~MyClass() { }
as an alternative name forproc deinit() { }
- type query expressions with a space like
proc f(arg: ? t)
(now must
be?t
) -
new owned(expr)
andnew shared(expr)
- bytes and string functions with deprecated argument names
- comparison routines for comparing bytes and strings (with mixed types)
decodePolicy.ignore
-
MyType!
-!
only applies to values
Next steps:
- test/deprecated shows many test for deprecation warnings; the only
tests here that fail with 1.22 are assertModule and norm-module. So
most everything else could be removed if we do not want to keep it
around.
Reviewed by @vasslitvinov - thanks
- [x] full local futures testing
Modified Files:
A test/parsing/precedence/bang-vs-cast1.chpl
A test/parsing/precedence/bang-vs-cast1.good
A test/parsing/precedence/bang-vs-cast2.chpl
A test/parsing/precedence/bang-vs-cast2.good
A test/parsing/precedence/bang-vs-cast2.prediff
A test/types/unions/union-copy-init3.prediff
R test/classes/deinitializers/deinitAndDestruct.chpl
R test/classes/deinitializers/deinitAndDestruct.good
R test/classes/diten/test_destroy2.chpl
R test/classes/diten/test_destroy2.good
R test/classes/figueroa/BogusDestructors5.chpl
R test/classes/figueroa/BogusDestructors5.good
R test/classes/figueroa/BogusDestructors7.chpl
R test/classes/figueroa/BogusDestructors7.good
R test/deprecated/bytesArgNames.chpl
R test/deprecated/bytesArgNames.good
R test/deprecated/bytesArgNames.noexec
R test/deprecated/new-owned-shared.chpl
R test/deprecated/new-owned-shared.good
R test/deprecated/old-destructor-name.chpl
R test/deprecated/old-destructor-name.good
R test/deprecated/string-bytes-comp.chpl
R test/deprecated/string-bytes-comp.good
R test/deprecated/stringArgNames.chpl
R test/deprecated/stringArgNames.good
R test/deprecated/stringArgNames.noexec
R test/deprecated/type-bang.chpl
R test/deprecated/type-bang.good
R test/parsing/precedence/bang-vs-cast.chpl
R test/parsing/precedence/bang-vs-cast.good
M compiler/AST/build.cpp
M compiler/include/bison-chapel.h
M compiler/parser/bison-chapel.cpp
M compiler/parser/chapel.ypp
M compiler/passes/checkParsed.cpp
M modules/internal/Bytes.chpl
M modules/internal/BytesStringCommon.chpl
M modules/internal/ChapelBase.chpl
M modules/internal/String.chpl
M test/parsing/precedence/bang-vs-new-etc.chpl
M test/parsing/precedence/bang-vs-new-etc.good
M test/parsing/spaceInQuery.chpl
M test/parsing/spaceInQuery.good
M test/types/unions/union-copy-init3.bad
Compare: https://github.com/chapel-lang/chapel/compare/24e4b19ef69b...a98cd5691fe3